summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-09-23 13:44:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-23 13:44:45 -0700
commit6c84b007c41638814137d296e75446a9b4865fd2 (patch)
treeb2cdbc8c83b206d183b21403a862515f2ee6a9a1 /Documentation
parentMerge branch 'ps/update-ref-batch-flush' (diff)
parentam: fix incorrect exit status on am fail to abort (diff)
downloadtgif-6c84b007c41638814137d296e75446a9b4865fd2.tar.xz
Merge branch 'en/am-abort-fix'
When "git am --abort" fails to abort correctly, it still exited with exit status of 0, which has been corrected. * en/am-abort-fix: am: fix incorrect exit status on am fail to abort t4151: add a few am --abort tests git-am.txt: clarify --abort behavior
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-am.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt
index 8714dfcb76..0a4a984dfd 100644
--- a/Documentation/git-am.txt
+++ b/Documentation/git-am.txt
@@ -178,6 +178,8 @@ default. You can use `--no-utf8` to override this.
--abort::
Restore the original branch and abort the patching operation.
+ Revert contents of files involved in the am operation to their
+ pre-am state.
--quit::
Abort the patching operation but keep HEAD and the index