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

Re: bug in 'git describe'?

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 24, 2018, 22:24 UTC
Message-ID
<xmqqefdir0tz.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<fd340f7b-61c0-2661-bdca-c239e51bc464@highlab.com>
Sebastian Kuzminsky <seb@highlab.com> writes:
> I've got two tiny git repos whose commit graphs are identical, but
> where 'git describe' gives different results.
> ...
> The histories differ only in the timestamps of the commits...

describe does take the commit timestamps into account, so it is expected you would get different results out of an otherwise identically looking graph.

Previous: Sebastian KuzminskyNext: Sebastian Kuzminsky
Message 2 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.