git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <junkio@cox.net>
Date
May 29, 2005, 04:21 UTC
Message-ID
<7vvf52r7aw.fsf@assigned-by-dhcp.cox.net>

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(-)

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.
------------------------------------------------
Message 1 of 1 in “Documentation: call "similarity index" just "score".”
  1. Documentation: call "similarity index" just "score".Junio C Hamano, May 29, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.