threads / patch / 755

patchDocumentation: call "similarity index" just "score".

Subject: [PATCH] Documentation: call "similarity index" just "score".

## tl;dr

One message between May 29, 2005 and May 29, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· May 29, 2005, 04:21 UTC · lore

It really is an internal "score" number and will not necessarily stay "similarity index" forever. Document so that Porcelain can be prepared to see numbers to follow the status letter.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

Documentation/diff-format.txt | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

Show changes to Documentation/diff-format.txt +1 −1
diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt
--- a/Documentation/diff-format.txt
+++ b/Documentation/diff-format.txt
@@ -36,7 +36,7 @@ That is, from the left to the right:
   (6) sha1 for "src"; 0{40} if creation or unmerged.
   (7) a space.
   (8) sha1 for "dst"; 0{40} if creation, unmerged or "look at work tree".
-  (9) status, followed by similarlity index number only for C and R.
+  (9) status, followed by optional "score" number.
  (10) a tab or a NUL when '-z' option is used.
  (11) path for "src"
  (12) a tab or a NUL when '-z' option is used; only exists for C or R.
------------------------------------------------

← back to recent threads