summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-07-13 15:51:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-13 23:02:48 (GMT)
commit14bf2d58bc3b202da3ca34cfdf72392889135411 (patch)
treeaa173a50d769a9a0400295436681ceedc9de88ff /Documentation
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e (diff)
downloadgit-14bf2d58bc3b202da3ca34cfdf72392889135411.zip
git-14bf2d58bc3b202da3ca34cfdf72392889135411.tar.gz
git-14bf2d58bc3b202da3ca34cfdf72392889135411.tar.bz2
am: indicate where a failed patch is to be found
If "git am" fails to apply something, the end user may need to know where to find the patch that failed to apply, so that the user can do other things (e.g. trying "GNU patch" on it, running "diffstat" to see what it tried to change, etc.) The input to "am" may have contained more than one patch, or the message may have been MIME encoded, and knowing what the user fed to "am" does not help very much for this purpose. Also introduce advice.amworkdir configuration to allow people who learned where to look to squelch this message. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 0e1168c..b1f0a75 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -143,6 +143,9 @@ advice.*::
Advice shown when you used linkgit:git-checkout[1] to
move to the detach HEAD state, to instruct how to create
a local branch after the fact.
+ amWorkDir::
+ Advice that shows the location of the patch file when
+ linkgit:git-am[1] fails to apply it.
--
core.fileMode::