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

Re: [PATCH] Rephrased git-describe description

From
IHIan Hilt <ian.hilt@gmail.com>
Date
May 14, 2008, 18:00 UTC
Message-ID
<alpine.LNX.1.10.0805141329020.28504@sys-0.hiltweb.site>
In-Reply-To
<19174A63-BE44-4898-9CAD-935BE1A28FFF@sb.org>
On Wed, 14 May 2008 at 11:57am -0500, Kevin Ballard wrote:
Show 20 quoted lines
> On May 14, 2008, at 9:22 AM, Ian Hilt wrote:
>> 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, the number of additional commits on top of the
>> +tagged object and the abbreviated object name of the most recent
>> +commit are suffixed to the tag name.
>
> I disagree that this is more readable. Specifically that last
> sentence. In the original description it tells me what it's
> doing (suffixing) before it tells me what objects it's
> using. In your version, it tells me the objects, then tells me
> what it's doing (suffixing), so I have to effectively process
> the sentence in reverse. In other words, it took me two
> readings of your last sentence to match the one reading of the
> original last sentence.
How about this?
   The command finds the most recent tag that is reachable from a
   commit.  If the tag points to the commit, then only the tag is
   shown.  Otherwise, it suffixes to the tag name the number of
   additional commits on top of the tagged object and the
   abbreviated object name of the most recent commit.
> Also, you should use a more descriptive commit description. At the very 
> least, do something like
>
> git-describe: Make description more readable.
Something like this:
git-describe: Changed subject from commit to tag in the first
               sentence, clarified what the number of commits is
               referring to, and pointed out which object is
               referenced by the suffixed object name.
-- 
Ian Hilt
ian.hilt (at) gmail.com
GnuPG key: 0x4AFC1EE3
Previous: Kevin BallardNext: Kevin Ballard
Message 3 of 4 in “Rephrased git-describe description”
  1. Rephrased git-describe descriptionIan Hilt, May 14, 2008
  2. Kevin BallardMay 14, 2008
  3. Ian HiltMay 14, 2008
  4. Kevin BallardMay 14, 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.