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

[PATCH] Documentation/gittutorial.txt: minimum 4 chars to match SHA1s

From
jidanni@jidanni.org <jidanni@jidanni.org>
Date
Jan 6, 2009, 02:49 UTC
Message-ID
<1231210140-13116-1-git-send-email-jidanni@jidanni.org>
Signed-off-by: jidanni <jidanni@jidanni.org>
---
 Documentation/gittutorial.txt |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index 4581a5a..42c2c91 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -481,7 +481,8 @@ $ git show c82a22c39cbc32576f64f5c6b3f24b99ea8149c7
 -------------------------------------
 
 But there are other ways to refer to commits.  You can use any initial
-part of the name that is long enough to uniquely identify the commit:
+part of the name that is long enough to uniquely identify the commit
+(minimum is four characters):
 
 -------------------------------------
 $ git show c82a22c39c	# the first few characters of the name are
-- 
1.6.0.6
Message 1 of 1 in “Documentation/gittutorial.txt: minimum 4 chars to match SHA1s”
  1. Documentation/gittutorial.txt: minimum 4 chars to match SHA1sjidanni@jidanni.org, Jan 6, 2009

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.