diff options
author | Jonas Flodén <jonas@floden.nu> | 2009-01-16 15:34:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-17 21:43:33 -0800 |
commit | a70d4100d027503f441d696cb2bc60c65349d2e9 (patch) | |
tree | b81480e5a6da9531a483840c5c52de4c13c89ea2 /git-am.sh | |
parent | 7bbd8d6c139f163ee26b8416cd227408888f31c3 (diff) | |
download | git-a70d4100d027503f441d696cb2bc60c65349d2e9.tar.gz |
git-am: Make it easier to see which patch failed
When git-am fails it's not always easy to see which patch failed,
since it's often hidden by a lot of error messages.
Add an extra line which prints the name of the failed patch just
before the resolve message to make it easier to find.
Signed-off-by: Jonas Flodén <jonas@floden.nu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -501,7 +501,7 @@ do fi if test $apply_status != 0 then - echo Patch failed at $msgnum. + echo "Patch failed at $msgnum $FIRSTLINE" stop_here_user_resolve $this fi |