Re: Commit ID in exported Tar Ball
- From
- Peter Baumann <waste.manager@gmx.de>
- Date
- May 21, 2007, 06:19 UTC
- Message-ID
- <20070521061954.GB8605@xp.machine.xx>
- In-Reply-To
- <20070520163026.GA7387@cip.informatik.uni-erlangen.de>
On Sun, May 20, 2007 at 06:30:26PM +0200, Thomas Glanzmann wrote:
Show 8 quoted lines
> Hello, > > > For version information it is far more useful to use --tags or no options > > (annotated tags only) instead of --all. > > so this output is useless if you don't have tagged the commit which > isn't the case. But thanks for the awareness. >
No. Just _ONE_ tagged commit should be enough. In a project of mine I tagged the root commit and as I am the only committer and this project is so simple that I don't have to do a lot of branching/merging, I get a single line of history
t - o1 - o2 - o3 - o4 <- master ^ |- tagged root commit
This gives me very nicely enumerated commits like tag-1-g<sha1-abbrev> for the commit o1 and tag-2-g<sha1-abbrev> for o2 ... you get the idea.
-Peter