Thread (6 messages) 6 messages, 3 authors, 2016-06-15

Re: Pulling tags from git.git

flat view

From: A Large Angry SCM <hidden>
Date: 2016-06-15 22:42:21

Possibly related (same subject, not in this thread)

Andreas Ericsson wrote:
Junio C Hamano wrote:
quoted
Andreas Ericsson [off-list ref] writes:

quoted
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.
Before you do this, please explain why unannotated tags are not useful, and so should not be allowed to be pushed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help