Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [PATCH 1/3] GIT-VERSION-GEN: make use of git describe --dirty

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:51

Mathias Lafeldt wrote:
Currently, GIT-VERSION-GEN invokes the plumbing commands "git update-index" and
"git diff-index" to determine if the working tree is dirty. It then appends
"-dirty" to the version string returned by "git describe".

However, as of Git v1.6.6, "git describe" can be told to do all that with the
"--dirty" option, saving us the plumbing.
This has a minor downside, which is avoiding the nice version numbers when
building Git with git 1.5.6 installed.  What is the upside?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help