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

Re: bug report/feature request: git describe: what is 'clean'

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 1, 2020, 20:03 UTC
Message-ID
<xmqqh7p5pa3m.fsf@gitster.c.googlers.com>
In-Reply-To
<ed404c7e-d098-348d-d8fe-dae8aa5a5fda@arcor.de>
Ernst Reissner <rei3ner@arcor.de> writes:
> To keep backward compatibility,
> maybe it is a good idea to add a second suffix, maybe 'untracked' to
> display in addition.

It won't work for folks who have used output from "describe --dirty" as the base of their version number, as their procedure do not know they need to strip "-untracked" at the end.

A new option, "describe --dirty --untracked", is possible, though.
Previous: Ernst Reissner
Message 2 of 2 in “bug report/feature request: git describe: what is 'clean'”
  1. Ernst ReissnerDec 1, 2020
  2. Junio C HamanoDec 1, 2020

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.