git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* `git describe --dirty` doesn't consider untracked files to be dirty
@ 2020-09-07  9:04 Ash Holland
  2020-09-08  7:40 ` Raymond E. Pasco
  2020-09-08 16:33 ` Junio C Hamano
  0 siblings, 2 replies; 9+ messages in thread
From: Ash Holland @ 2020-09-07  9:04 UTC (permalink / raw)
  To: git

Hi,

There seems to be a discrepancy between how `git describe --dirty` is
documented and how it actually behaves. The documentation describes
the --dirty flag like this:

> If the working tree has local modification "-dirty" is appended to it.

but certain kinds of "local modification", namely untracked files,
don't cause "-dirty" to be included.

Please could this be fixed, either in the documentation or in git describe?

thanks,
Ash
she/they

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-09-20  2:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07  9:04 `git describe --dirty` doesn't consider untracked files to be dirty Ash Holland
2020-09-08  7:40 ` Raymond E. Pasco
2020-09-08 16:33 ` Junio C Hamano
2020-09-08 23:16   ` Aaron Schrab
2020-09-08 23:59     ` Junio C Hamano
2020-09-19 18:12     ` Junio C Hamano
2020-09-20  0:17       ` Ash Holland
2020-09-20  1:46       ` Junio C Hamano
2020-09-20  2:12         ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).