Re: Tags
- From
- Kevin Smith <yarcs@qualitycode.com>
- Date
- Jul 3, 2005, 22:34 UTC
- Message-ID
- <42C86811.9030906@qualitycode.com>
- In-Reply-To
- <42C72B83.6030904@gmail.com>
Dan Holmsand wrote:
Show 12 quoted lines
> So why not add tags to the branch itself? > > It should be pretty straightforward: just make git look for tag refs in, > say, a .gittags tree in the current HEAD. The whole thing would pretty > much as if you've symlinked .git/refs/tags to .gittags in the current > working tree, except that tag refs would have to be read directly from > the repository. > > That way, tag refs could be handled pretty much just like any other > git-managed file: they can be added, deleted, changed, merged, > committed, etc. We could track their history, and see who tagged what > and when.
Sounds like the way mercurial handles tags. It really seemed weird to me at first, but the more I think about it, the more it makes sense. Even more so after reading this thread :-)
http://www.serpentine.com/mercurial/index.cgi?Tag
Kevin