author | Junio C Hamano <gitster@pobox.com> | |
Sun, 27 Jun 2010 19:07:44 +0000 (12:07 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 27 Jun 2010 19:07:44 +0000 (12:07 -0700) |
* js/maint-am-rebase-invalid-author:
am: use get_author_ident_from_commit instead of mailinfo when rebasing
am: use get_author_ident_from_commit instead of mailinfo when rebasing
1 | 2 | |||
---|---|---|---|---|
git-am.sh | patch | | diff1 | | diff2 | | blob | history |
t/t3400-rebase.sh | patch | | diff1 | | diff2 | | blob | history |
diff --cc git-am.sh
index ef2d51a2b80d77dc5fe28d76b5047a97dc4c0fae,abcb05b6baa8693fa6af021905b17a72d4f408e3..e7f008c7baae2ff484e16882e199b6b9d75195aa
+++ b/git-am.sh
test -s "$dotest/patch" || {
echo "Patch is empty. Was it split wrong?"
+ echo "If you would prefer to skip this patch, instead run \"$cmdline --skip\"."
+ echo "To restore the original branch and stop patching run \"$cmdline --abort\"."
stop_here $this
}
- rm -f "$dotest/original-commit"
+ rm -f "$dotest/original-commit" "$dotest/author-script"
if test -f "$dotest/rebasing" &&
commit=$(sed -e 's/^From \([0-9a-f]*\) .*/\1/' \
-e q "$dotest/$msgnum") &&
diff --cc t/t3400-rebase.sh
Simple merge