Adjust for use on kernel.org
[git/spearce.git] / KO
blobc39564f9cf758cc9a0876576e45c8059d3f68208
1 #!/bin/sh
3 # Not for general consumption; a script I used to make sure
4 # I do not accidentally push a rewound master to public.
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
14 git show-branch ko-master master
15 git show-branch ko-maint maint
16 git show-branch ko-pu pu