Automate the release procedure a bit more.
[git.git] / KO
1 #!/bin/sh
2 #
3 # Not for general consumption; a script I used to make sure
4 # I do not accidentally push a rewound master to public.
5
6 git fetch ko
7 mb=$(git merge-base ko-master master)
8 h=$(git rev-parse $mb ko-master | sort -u | wc -l)
9 if test "$h" != 1
10 then
11         echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko-master fast forward."
12         exit 1
13 fi
14 git show-branch --topo-order ko-master master
15 git show-branch --topo-order ko-maint maint
16 git show-branch --topo-order ko-next next
17 git show-branch --topo-order ko-pu pu