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

Re: "git describe --debug" does not show the latest tag for "groff"

From
Chris Torek <chris.torek@gmail.com>
Date
Oct 31, 2021, 00:12 UTC
Message-ID
<CAPx1GvfJcmUQm515U9fWW9fKKZihoO+PiM08G_xiARtiG_Eb6w@mail.gmail.com>
In-Reply-To
<20211030231514.GA1086559@rhi.hi.is>
On Sat, Oct 30, 2021 at 4:24 PM Bjarni Ingi Gislason <bjarniig@rhi.hi.is> wrote:
>   "git log" on the console shows the tag "1.23.0.rc1" to be the first
> one.

By this, do you mean that `git log` shows the tag on the HEAD commit? Or do you mean that this is the first tag that `git log` emits? Note that `git log` walks complex graphs in a funny order by default; you'd need `--topo-order` (and usually `--graph` too) to see what's really going on.

>   "git log" directed to a file does not show any 'tag' in the commit
> lines!

That's normal if you have `--decorate` set to `auto` (many do: it used to be sensible ages ago, and I still have that set in my own default git config). Tags, in `git log` output,are decorations, and `auto` means *if going to terminal*.

Chris
Previous: Bjarni Ingi Gislason
Message 4 of 4 in “"git describe --debug" does not show the latest tag for "groff"”
  1. Bjarni Ingi GislasonOct 27, 2021
  2. Ævar Arnfjörð BjarmasonOct 28, 2021
  3. Bjarni Ingi GislasonOct 30, 2021
  4. Chris TorekOct 31, 2021

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.