summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xdoc/pick.sh15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/pick.sh b/doc/pick.sh
index fb9da83b..baa41c46 100755
--- a/doc/pick.sh
+++ b/doc/pick.sh
@@ -8,17 +8,18 @@
 # Bad commits are marked with a "custom:" at the beginning
 # of the commit message.
 
-BRANCH=`git branch 2>/dev/null|grep -e ^* | tr -d \*\ `
+MASTER_BRANCH='master'
+CUSTOM_BRANCH='hut'
+ORIGINAL_BRANCH=`git branch 2>/dev/null|grep -e ^* | tr -d \*\ `
 
-git checkout master
+git checkout $MASTER_BRANCH
 
 while read -r hash tag rest; do
 	if [ $tag != 'custom:' ]; then
 		git cherry-pick $hash || exit 1
 	fi
-done < <(git log --oneline --no-color master..hut)
+done < <(git log --oneline --no-color $MASTER_BRANCH..$CUSTOM_BRANCH)
 
-git checkout hut
-git rebase master
-
-git checkout $BRANCH
+git checkout $CUSTOM_BRANCH
+git rebase $MASTER_BRANCH
+git checkout $ORIGINAL_BRANCH
'author Kartik K. Agaram <vc@akkartik.com> 2017-03-08 19:02:59 -0800 committer Kartik K. Agaram <vc@akkartik.com> 2017-03-08 19:02:59 -0800 3764 - better colors for cross-links' href='/akkartik/mu/commit/html/console.mu.html?h=hlt&id=4a39d12d4568f76ebf45b34cec722d8e0bcf1207'>4a39d12d ^
4c4d325c ^
a654e4ec ^
9e751bb8 ^

a654e4ec ^
e5c11a51 ^
4690ce81 ^
4a39d12d ^
a654e4ec ^
e5c11a51 ^
9e751bb8 ^
dbe12410 ^

a654e4ec ^



e5c11a51 ^






















a654e4ec ^

dbe12410 ^
e5c11a51 ^
a654e4ec ^
204dae92 ^



97eb971b ^
204dae92 ^


9e751bb8 ^



204dae92 ^



dbe12410 ^


a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80