3 # Not for general consumption; a script I used to make sure
4 # I do not accidentally push a rewound master to public.
11 *,--no-fetch) no_fetch
=t
; shift ;;
12 *,--*) echo >&2 "unknown option $1"; exit 1 ;;
17 if test -z "$no_fetch"
22 mb
=$
(git merge-base
$ko/master master
)
23 h
=$
(git rev-parse
$mb $ko/master |
sort -u |
wc -l)
26 echo "OOOOOPPPPPPPPPPPPPPSSS! master is not $ko/master fast forward."
29 git show-branch
--topo-order $ko/master master
30 git show-branch
--topo-order $ko/maint maint
31 git show-branch
--topo-order $ko/next next
32 git show-branch
--topo-order $ko/pu pu