@matheusbsbs / matheus-bagliano / commits / b1264da863
Fork 0

Documentation: clarify diff --cc

The definition of an "uninteresting" hunk was not in line with reality. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jul 23, 2008 at 16:16 UTC b1264da8637dc991b84e329c2c4958c1332d069f
2 files changed +8 -8
Documentation/git-diff-tree.txt
+5 -5
@@ -93,11 +93,11 @@ include::pretty-options.txt[]
93 This flag changes the way a merge commit patch is displayed,
94 in a similar way to the '-c' option. It implies the '-c'
95 and '-p' options and further compresses the patch output
96 - by omitting hunks that show differences from only one
97 - parent, or show the same change from all but one parent
98 - for an Octopus merge. When this optimization makes all
99 - hunks disappear, the commit itself and the commit log
100 - message is not shown, just like in any other "empty diff" case.
96 + by omitting uninteresting hunks whose the contents in the parents
97 + have only two variants and the merge result picks one of them
98 + without modification. When all hunks are uninteresting, the commit
99 + itself and the commit log message is not shown, just like in any other
100 + "empty diff" case.
101
102 --always::
103 Show the commit itself and the commit log message even
Documentation/rev-list-options.txt
+3 -3
@@ -108,9 +108,9 @@ options may be given. See linkgit:git-diff-files[1] for more options.
108 --cc::
109
110 This flag implies the '-c' options and further compresses the
111 - patch output by omitting hunks that show differences from only
112 - one parent, or show the same change from all but one parent for
113 - an Octopus merge.
111 + patch output by omitting uninteresting hunks whose contents in
112 + the parents have only two variants and the merge result picks
113 + one of them without modification.
114
115 -r::
116