3 # Copyright (c) 2010 Junio C Hamano.
10 git am
--resolved --3way --resolvemsg="$resolvemsg" &&
11 move_to_original_branch
15 git am
--skip -3 --resolvemsg="$resolvemsg" &&
16 move_to_original_branch
21 test -n "$rebase_root" && root_flag
=--root
23 git format-patch
-k --stdout --full-index --ignore-if-in-upstream \
24 --src-prefix=a
/ --dst-prefix=b
/ \
25 --no-renames $root_flag "$revisions" |
26 git am
$git_am_opt --rebasing --resolvemsg="$resolvemsg" &&
27 move_to_original_branch
29 test 0 != $ret -a -d "$state_dir" &&
30 echo $head_name > "$state_dir/head-name" &&
31 echo $onto > "$state_dir/onto" &&
32 echo $orig_head > "$state_dir/orig-head" &&
33 echo "$GIT_QUIET" > "$state_dir/quiet"