From: Junio C Hamano Date: Tue, 07 Jun 2011 18:45:44 GMT Subject: Re: [rfd] auto-following tags upon "git push"? Message-ID: <7vpqmp5vl3.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110607173051.GA22216@sigill.intra.peff.net> Jeff King writes: > Hmm. Is it a clear enough hint when the user uses an actual tag object > to make a signed or annotated tag? At least for me, private throw-away > tags tend to just be refs/tags/foo pointing to a commit, and real, > for-public-consumption tags at least get an annotation, if not a > signature. > > I seem to recall we make a similar distinction somewhere else in the > code, but I can't remember offhand where. Maybe it was just a proposal > that never made it anywhere. You are thinking about "describe", I think, and the analogy holds true. The tag annotation vs lightweight tag is a good hint I forgot to take into account. > Anyway, the problem would be somebody who does something like: > > $ git tag -m "here is a description of how this wip is going" foo-wip > > which violates the assumption above. True, I think I did that sometimes. I personally do not use "private tags" that much anymore; I make liberal use of private branches for that kind of work instead, as it is more flexible (I can check it out, build on it, rebase -i, and generally whip it around in any other way).