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

Re: bug in 'git describe'?

From
Duy Nguyen <pclouds@gmail.com>
Date
Sep 25, 2018, 16:05 UTC
Message-ID
<CACsJy8C4+cj=K2NetC05rmwenY0cArQ7NehZZ+Df90fmzBVThA@mail.gmail.com>
In-Reply-To
<dbd2dcef-c892-3628-119e-f688e74f3599@highlab.com>
On Tue, Sep 25, 2018 at 5:41 PM Sebastian Kuzminsky <seb@highlab.com> wrote:
> That behavior seems to me to be different from what the (2.11) manpage says:

Good opportunity to improve the man page anyway even if Junio is right. I agree that the section about "search strategy" is a bit misleading because it does not mention anything about time stuff.

Show 12 quoted lines
>
> > it suffixes the tag name with the number of additional commits on top
> > of the tagged object
>
>
> And:
>
> > If multiple tags were found during the walk then the tag which has
> > the fewest commits different from the input commit-ish will be
> > selected and output. Here fewest commits different is defined as the
> > number of commits which would be shown by git log tag..input will be
> > the smallest number of commits possible.
-- 
Duy
Previous: Sebastian KuzminskyNext: Duy Nguyen
Message 4 of 5 in “bug in 'git describe'?”
  1. Sebastian KuzminskySep 24, 2018
  2. Junio C HamanoSep 24, 2018
  3. Sebastian KuzminskySep 25, 2018
  4. Duy NguyenSep 25, 2018
  5. Duy NguyenSep 25, 2018

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.