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.