Re: [PATCH] More precise description of 'git describe --abbrev'

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] More precise description of 'git describe --abbrev'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:38

Andreas Schwab [off-list ref] writes:
Gisle Aas [off-list ref] writes:
quoted
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index b231dbb..743eb95 100644
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -44,7 +44,9 @@ OPTIONS

 --abbrev=<n>::
 	Instead of using the default 7 hexadecimal digits as the
-	abbreviated object name, use <n> digits.
+	abbreviated object name, use <n> digits or as many digits
+	are needed to form a unique object name.  An <n> of 0
"as many digits as needed"?
Thanks; queued with this fix-up.

Re: [PATCH] More precise description of 'git describe --abbrev'

From: Gisle Aas <hidden>
Date: 2016-06-15 22:47:40

Unfortunately there was still a grammar typo in that patch:
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -120,7 +120,7 @@ closest tagname without any suffix:
        tags/v1.0.0

 Note that the suffix you get if you type these commands today may be
-longer than what Linus saw above when he ran this command, as your
+longer than what Linus saw above when he ran these commands, as your
 git repository may have new commits whose object names begin with
 975b that did not exist back then, and "-g975b" suffix alone may not
 be sufficient to disambiguate these commits.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help