Skip to content

Commit 9f8410b

Browse files
committed
Merge branch 'jc/diff-format-doc' into maint
The documentation incorrectly said that C(opy) and R(ename) are the only ones that can be followed by the score number in the output in the --raw format. * jc/diff-format-doc: diff-format doc: a score can follow M for rewrite
2 parents b9efce1 + ac1c2d9 commit 9f8410b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/diff-format.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ be committed)
6666

6767
Status letters C and R are always followed by a score (denoting the
6868
percentage of similarity between the source and target of the move or
69-
copy), and are the only ones to be so.
69+
copy). Status letter M may be followed by a score (denoting the
70+
percentage of dissimilarity) for file rewrites.
7071

7172
<sha1> is shown as all 0's if a file is new on the filesystem
7273
and it is out of sync with the index.

0 commit comments

Comments
 (0)