X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fdiff-format.txt;h=001503205b24d5c20ec10792c4ab6c4c7221bcb7;hb=84d176cef65ad23e11643d463c69ad313b728eda;hp=18d49d2c3baa81983b19a938598eb091fb7809ef;hpb=30ba3809a4670c99c73800393ce29473c84c8521;p=git.git diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index 18d49d2c3..001503205 100644 --- a/Documentation/diff-format.txt +++ b/Documentation/diff-format.txt @@ -126,6 +126,13 @@ the file that rename/copy produces, respectively. If there is need for such substitution then the whole pathname is put in double quotes. +The similarity index is the percentage of unchanged lines, and +the dissimilarity index is the percentage of changed lines. It +is a rounded down integer, followed by a percent sign. The +similarity index value of 100% is thus reserved for two equal +files, while 100% dissimilarity means that no line from the old +file made it into the new one. + combined diff format --------------------