diff --git a/git-am.sh b/git-am.sh index 4beb12dcf5..e20dd88392 100755 --- a/git-am.sh +++ b/git-am.sh @@ -510,7 +510,7 @@ do fi if test $apply_status != 0 then - echo Patch failed at $msgnum. + printf 'Patch failed at %s %s\n' "$msgnum" "$FIRSTLINE" stop_here_user_resolve $this fi