Git development
 help / color / mirror / Atom feed
* Score in diff-format
@ 2015-01-28  6:23 Mike Hommey
  2015-01-28 14:32 ` Michael J Gruber
  2015-01-28 18:57 ` Junio C Hamano
  0 siblings, 2 replies; 6+ messages in thread
From: Mike Hommey @ 2015-01-28  6:23 UTC (permalink / raw)
  To: git

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 source and target of the move or
  copy), and are the only ones to be so.

As I read this last paragraph, the following is not supposed to happen:
$ git diff-tree 926b1ec63ee045503f609e88ca445b94c06bd5d7 --abbrev -r -C -B
926b1ec63ee045503f609e88ca445b94c06bd5d7
:100644 100644 81ac702... 7ab0cf4... M087       contrib/subtree/INSTALL

It however makes sense that it happens, and it looks like a case of the
documentation being outdated or confusing. Or am I interpreting it wrong?

Cheers,

Mike

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-29  6:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28  6:23 Score in diff-format Mike Hommey
2015-01-28 14:32 ` Michael J Gruber
2015-01-28 21:17   ` Junio C Hamano
2015-01-29  1:22     ` Mike Hommey
2015-01-29  6:20       ` Junio C Hamano
2015-01-28 18:57 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox