Re: Pulling tags from git.git
- From
Andreas Ericsson <ae@op5.se>
- Date
- Mar 7, 2006, 12:20 UTC
- Message-ID
- <440D7A7D.8070507@op5.se>
- In-Reply-To
- <7voe0ilf25.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 11 quoted lines
> Andreas Ericsson <ae@op5.se> writes: > > >>With the git or git+ssh protocol, tags will be autofollowed >>when you do a pull (only signed tags, I think). The >>auto-following is done by detecting tags that are fetched, > > > Ah, you are correct. We do not follow lightweight tags; I am > not sure if we should. >
I'm fairly sure we shouldn't. The default update-hook prevents them (if enabled), and I can't for the life of me think of why anyone would want to distribute such tags.
OTOH, preventing unannotated tags from being pushed seems like a better way than to not have the ability to auto-follow those same tags. After all, it's better to discourage than to disallow.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231