]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-merge.txt: mention 'ORIG_HEAD' in the Description
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Tue, 10 Jan 2023 13:15:19 +0000 (13:15 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jan 2023 17:55:46 +0000 (09:55 -0800)
The fact that 'git merge' writes 'ORIG_HEAD' before performing the merge
is missing from the documentation of the command.

Mention it in the 'Description' section.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-merge.txt

index 2d6a1391c89412e66aa1227201bdd89ba2f0f27a..0aeff572a59d8fea319f334232deae4a9df4e464 100644 (file)
@@ -37,7 +37,8 @@ Then "`git merge topic`" will replay the changes made on the
 `topic` branch since it diverged from `master` (i.e., `E`) until
 its current commit (`C`) on top of `master`, and record the result
 in a new commit along with the names of the two parent commits and
-a log message from the user describing the changes.
+a log message from the user describing the changes. Before the operation,
+`ORIG_HEAD` is set to the tip of the current branch (`C`).
 
 ------------
          A---B---C topic