doc/git-log: describe --diff-merges=off
authorSergey Organov <redacted>
Wed, 5 Aug 2020 22:08:31 +0000 (01:08 +0300)
committerJunio C Hamano <redacted>
Tue, 11 Aug 2020 21:20:27 +0000 (14:20 -0700)
Signed-off-by: Sergey Organov <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-log.txt

index 9ccba65469d7c6bc42fc8fb2de6fef36b1969061..f3727c78645346d1e78d2aafba8691f20af5f629 100644 (file)
@@ -145,7 +145,6 @@ combined-diff option or with `--no-diff-merges`).
        rename or copy detection have been requested).
 
 -m::
---diff-merges::
        This flag makes the merge commits show the full diff like
        regular commits; for each merge parent, a separate log entry
        and diff is generated. An exception is that only diff against
@@ -153,6 +152,11 @@ combined-diff option or with `--no-diff-merges`).
        in that case, the output represents the changes the merge
        brought _into_ the then-current branch.
 
+--diff-merges=off::
+--no-diff-merges::
+       Disable output of diffs for merge commits (default). Useful to
+       override `-m`, `-c`, or `--cc`.
+
 :git-log: 1
 include::diff-options.txt[]
 
git clone https://git.99rst.org/PROJECT