Re: Score in diff-format

2015-01-28 Thread Michael J Gruber
Mike Hommey schrieb am 28.01.2015 um 07:23: Hi, diff-format.txt says this: An output line is formatted this way: (snip) That is, from the left to the right: (snip) . status, followed by optional score number. (snip) Status letters C and R are always followed by a

Re: Score in diff-format

2015-01-28 Thread Junio C Hamano
Mike Hommey m...@glandium.org writes: (snip) Status letters C and R are always followed by a score (denoting the percentage of similarity between the source and target of the move or copy), and are the only ones to be so. Good eyes. I _think_ what happened was that

Re: Score in diff-format

2015-01-28 Thread Junio C Hamano
-format, but they are a consequence of -B processing. Maybe we could mention that? -- 8 -- Subject: diff-format doc: a score can follow M for rewrite b6d8f309 (diff-raw format update take #2., 2005-05-23) started documenting the diff format, and it said ... (8) sha1 for dst; 0{40} if creation

Re: Score in diff-format

2015-01-28 Thread Mike Hommey
it so as well ;-) Percentages with M are not mentioned in diff-format, but they are a consequence of -B processing. Maybe we could mention that? -- 8 -- Subject: diff-format doc: a score can follow M for rewrite b6d8f309 (diff-raw format update take #2., 2005-05-23) started

Re: Score in diff-format

2015-01-28 Thread Junio C Hamano
Mike Hommey m...@glandium.org writes: On Wed, Jan 28, 2015 at 01:17:19PM -0800, Junio C Hamano wrote: diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index 15c7e79..e6cfc9b 100644 --- a/Documentation/diff-format.txt +++ b/Documentation/diff-format.txt @@ -66,7

Score in diff-format

2015-01-27 Thread Mike Hommey
Hi, diff-format.txt says this: An output line is formatted this way: (snip) That is, from the left to the right: (snip) . status, followed by optional score number. (snip) Status letters C and R are always followed by a score (denoting the percentage of similarity between the