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

Re: [PATCH] Rephrased git-describe description

From
DSDirk Süsserott <newsletter@dirk.my1.cc>
Date
May 14, 2008, 20:01 UTC
Message-ID
<482B4526.9020905@dirk.my1.cc>
In-Reply-To
<7v7idwoh9m.fsf@gitster.siamese.dyndns.org>
While we're talking about 'git-describe': I always wondered what the '-g'
in front of the sha1 stands for when I issue 'git describe'. Is it for 
'generation'
or what? Actually I'd appreciate if that '-g' would be dropped as it is of
no use but I also recognize that git-describe is one of the plumbing tools.
I'm just curious.
  Dirk
Junio C Hamano schrieb:
Show 38 quoted lines
> Ian Hilt <ian.hilt@gmail.com> writes:
>
>   
>> git-describe: Make description more readable.
>>     
>
> Thanks, both.  I think the above is meant to be on the Subject: line, and
> the text certainly is more readable.
>
>   
>> Signed-off-by: Ian Hilt <ian.hilt@gmail.com>
>> ---
>>  Documentation/git-describe.txt |    7 ++++---
>>  1 files changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
>> index d9aa2f2..69e1ab7 100644
>> --- a/Documentation/git-describe.txt
>> +++ b/Documentation/git-describe.txt
>> @@ -13,9 +13,10 @@ SYNOPSIS
>>  DESCRIPTION
>>  -----------
>>  The command finds the most recent tag that is reachable from a
>> -commit, and if the commit itself is pointed at by the tag, shows
>> -the tag.  Otherwise, it suffixes the tag name with the number of
>> -additional commits and the abbreviated object name of the commit.
>> +commit.  If the tag points to the commit, then only the tag is
>> +shown.  Otherwise, it suffixes the tag name with the number of
>> +additional commits on top of the tagged object and the
>> +abbreviated object name of the most recent commit.
>>     
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   
Previous: Junio C HamanoNext: Ian Hilt
Message 3 of 5 in “Rephrased git-describe description”
  1. Rephrased git-describe descriptionIan Hilt, May 14, 2008
  2. Junio C HamanoMay 14, 2008
  3. Dirk SüsserottMay 14, 2008
  4. Ian HiltMay 14, 2008
  5. Junio C HamanoMay 17, 2008

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.