]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: define 'MERGE_AUTOSTASH'
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Fri, 23 Jul 2021 12:14:28 +0000 (12:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jul 2021 22:45:35 +0000 (15:45 -0700)
The documentation for 'git merge --abort' and 'git merge --quit' both
mention the special ref 'MERGE_AUTOSTASH', but this ref is not formally
defined anywhere. Mention it in the description of the '--autostash'
option for 'git merge'.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/merge-options.txt

index eb0aabd396ff924ea30dc6f81bc1382a061a0b3d..52565014c15a51f30ea910a69687ea1d93a90358 100644 (file)
@@ -154,7 +154,8 @@ endif::git-pull[]
 --autostash::
 --no-autostash::
        Automatically create a temporary stash entry before the operation
-       begins, and apply it after the operation ends.  This means
+       begins, record it in the special ref `MERGE_AUTOSTASH`
+       and apply it after the operation ends.  This means
        that you can run the operation on a dirty worktree.  However, use
        with care: the final stash application after a successful
        merge might result in non-trivial conflicts.