Revision 55dcc2ebad1b3ed4a6912f6f401f63cd3c71026f authored by Junio C Hamano on 10 January 2012, 22:24:01 UTC, committed by Junio C Hamano on 10 January 2012, 22:24:01 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--am.sh
#!/bin/sh
#
# Copyright (c) 2010 Junio C Hamano.
#
. git-sh-setup
case "$action" in
continue)
git am --resolved --resolvemsg="$resolvemsg" &&
move_to_original_branch
exit
;;
skip)
git am --skip --resolvemsg="$resolvemsg" &&
move_to_original_branch
exit
;;
esac
test -n "$rebase_root" && root_flag=--root
git format-patch -k --stdout --full-index --ignore-if-in-upstream \
--src-prefix=a/ --dst-prefix=b/ \
--no-renames $root_flag "$revisions" |
git am $git_am_opt --rebasing --resolvemsg="$resolvemsg" &&
move_to_original_branch
ret=$?
test 0 != $ret -a -d "$state_dir" && write_basic_state
exit $ret
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...