diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-30 13:04:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-30 13:04:39 -0700 |
commit | 9b67f560f473ec84c9ea77a1fa6378bc7cc29d9d (patch) | |
tree | a3f73f65ef4a6da836d1a265d4b5226d0737839c /git-am.sh | |
parent | Merge branch 'jl/maint-1.7.10-recurse-submodules-with-symlink' into maint (diff) | |
parent | am: indicate where a failed patch is to be found (diff) | |
download | tgif-9b67f560f473ec84c9ea77a1fa6378bc7cc29d9d.tar.xz |
Merge branch 'pg/maint-1.7.9-am-where-is-patch' into maint
When "git am" failed, old timers knew to check .git/rebase-apply/patch
to see what went wrong, but we never told the users about it.
* pg/maint-1.7.9-am-where-is-patch:
am: indicate where a failed patch is to be found
Diffstat (limited to 'git-am.sh')
-rwxr-xr-x | git-am.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -855,6 +855,11 @@ did you forget to use 'git add'?" if test $apply_status != 0 then eval_gettextln 'Patch failed at $msgnum $FIRSTLINE' + if test "$(git config --bool advice.amworkdir)" != false + then + eval_gettextln "The copy of the patch that failed is found in: + $dotest/patch" + fi stop_here_user_resolve $this fi |