diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-07-01 14:58:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-01 14:58:09 -0700 |
commit | 71e55854fd6e5c9ce786bcd20efef43bd56f9df0 (patch) | |
tree | 5adf301168c9c10ae952dd5de29b9edd8104c99e /Documentation | |
parent | Merge branch 'jc/quote' (diff) | |
parent | diff: round down similarity index (diff) | |
download | tgif-71e55854fd6e5c9ce786bcd20efef43bd56f9df0.tar.xz |
Merge branch 'rs/diff'
* rs/diff:
diff: round down similarity index
diffcore-rename: don't change similarity index based on basename equality
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/diff-format.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index 18d49d2c3b..001503205b 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 -------------------- |