On May 20, 2007, at 12:10 PM, Thomas Glanzmann wrote:
Hello,
git-describe is more human-friendly than a SHA-1...
For me git-describe does the following:
(thinkpad) [~/work/slides] git-describe --all HEAD
heads/master
I don't see how Michael is able to tell from this output what version
his users is using. Do I miss something? I really do like the patch
Rene
has submitted. And it is exactly what is missing. A unique identifier
which tells the exact version of the tree the user is using.
For version information it is far more useful to use --tags or no
options (annotated tags only) instead of --all.
# On git.git's master this morning:
$ git describe HEAD
v1.5.2
$ git describe HEAD^^
v1.5.2-rc3-97-g03f6db0
~~ Brian
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html