Re: Commit ID in exported Tar Ball
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- May 20, 2007, 16:28 UTC
- Message-ID
- <817CD103-261C-4D40-9C8F-00B2E14130BE@silverinsanity.com>
- In-Reply-To
- <20070520161048.GI5015@cip.informatik.uni-erlangen.de>
On May 20, 2007, at 12:10 PM, Thomas Glanzmann wrote:
Show 14 quoted lines
> 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