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

[PATCH 2/2] describe doc: remove '7-char' abbreviation reference

From
Philip Oakley <philipoakley@iee.org>
Date
Apr 6, 2019, 13:27 UTC
Message-ID
<20190406132747.16376-3-philipoakley@iee.org>
In-Reply-To
<20190406132747.16376-1-philipoakley@iee.org>
While the minimum is 7-char, the unambiguous length can be longer.
Signed-off-by: Philip Oakley <philipoakley@iee.org>
---
noticed while looking int the Git-for-Windows patch thicket -
was looking for the ~n^m style!
---
 Documentation/git-describe.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index ccdc5f83d6..a88f6ae2c6 100644
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -139,7 +139,7 @@ at the end.
 
 The number of additional commits is the number
 of commits which would be displayed by "git log v1.0.4..parent".
-The hash suffix is "-g" + 7-char abbreviation for the tip commit
+The hash suffix is "-g" + unambiguous abbreviation for the tip commit
 of parent (which was `2414721b194453f058079d897d13c4e377f92dc6`).
 The "g" prefix stands for "git" and is used to allow describing the version of
 a software depending on the SCM the software is managed with. This is useful
-- 
2.21.0.windows.1.80.gdc2ae9a382
Previous: Philip OakleyNext: Ævar Arnfjörð Bjarmason
Message 2 of 7 in “Minor document fixes”
  1. 0/2 Minor document fixesPhilip Oakley, Apr 6, 2019
  2. 2/2 describe doc: remove '7-char' abbreviation referencePhilip Oakley, Apr 6, 2019
  3. Ævar Arnfjörð BjarmasonApr 7, 2019
  4. Junio C HamanoApr 7, 2019
  5. Philip OakleyApr 7, 2019
  6. 1/2 rerere doc: quote `rerere.enabled`Philip Oakley, Apr 6, 2019
  7. Junio C HamanoApr 8, 2019

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.