3 # Not for general consumption; a script I used to make sure
4 # I do not accidentally push a rewound master to public.
6 case "$1" in --no-fetch) shift ;; *) git fetch ko
;; esac
8 mb
=$
(git merge-base ko
/master master
)
9 h
=$
(git rev-parse
$mb ko
/master |
sort -u |
wc -l)
12 echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko/master fast forward."
15 git show-branch
--topo-order ko
/master master
16 git show-branch
--topo-order ko
/maint maint
17 git show-branch
--topo-order ko
/next next
18 git show-branch
--topo-order ko
/pu pu