Skip to content

Commit 8efd2ef

Browse files
sorganovgitster
authored andcommitted
doc/diff-generate-patch: mention new --diff-merges option
Mention --diff-merges instead of -m in a note to merge formats to aid discoverability, as -m is now described among --diff-merges options anyway. Signed-off-by: Sergey Organov <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b5ffa9e commit 8efd2ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/diff-generate-patch.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ Combined diff format
8181
Any diff-generating command can take the `-c` or `--cc` option to
8282
produce a 'combined diff' when showing a merge. This is the default
8383
format when showing merges with linkgit:git-diff[1] or
84-
linkgit:git-show[1]. Note also that you can give the `-m` option to any
85-
of these commands to force generation of diffs with individual parents
86-
of a merge.
84+
linkgit:git-show[1]. Note also that you can give suitable
85+
`--diff-merges` option to any of these commands to force generation of
86+
diffs in specific format.
8787

8888
A "combined diff" format looks like this:
8989

0 commit comments

Comments
 (0)