3 accept_rerere
=t generate
=no
4 while case "$#,$1" in 0,*) break;; *,-*) ;; esac
17 if test -z "$accept_rerere"
22 grep -e "^.+" -e "^+." |
23 grep -e "^..<<<<<<<" -e "^..
=======" -e "^..
>>>>>>>" >/dev/null
27 EDITOR=: git commit -a --no-verify
37 git merge "$branch" || accept_rerere || exit
38 if git show-ref -q --verify "refs
/merge-fix
/$branch"
40 git cherry-pick --no-commit "refs
/merge-fix
/$branch" &&
41 EDITOR=: git commit --amend -a
46 git cherry-pick "$branch" || exit ;;
47 *) echo >&2 "Eh?
$branch $eh"; exit ;;
53 merge_msg="Merge branch
'\(.*\)'"
54 x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
55 x40="$x40$x40$x40$x40$x40$x40$x40$x40"
60 branch=$(expr "$msg" : "$merge_msg") &&
61 tip=$(git rev-parse --verify "refs
/heads
/$branch" 2>/dev/null) &&
62 merged=$(git name-rev --refs="refs
/heads
/$branch" "$other" 2>/dev/null) &&
63 merged=$(expr "$merged" : "$x40 \
(.
*\
)") &&
64 test "$merged" != undefined || {
65 other=$(git log -1 --pretty='format:%s' $other) &&
66 merged="$branch :rebased?
$other"
71 merged="$
(git rev-parse
--verify "$commit") pick
$msg"
77 git log --pretty=oneline --first-parent "$1" |
82 if other=$(git rev-parse -q --verify "$commit^
2")
93 series="$merged$LF$series"