Re: BUG: For first push to a bare repo, using "--tags" prevents creation of master branch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> writes:

> Yeah.  I am not sure --tags-also is necessarily a good thing (I do
> not think "fetch --tags" is a good thing, either).  If --follow-tags
> does not touch lightweight ones, that may be a bug we would want to
> fix.  I did not mean to implement --follow-tags that way, and I do
> not offhand remember if there was a reason to omit lightweight ones.

It's documented to push only annotated tags both in the commit message
of c2aba15 (push: --follow-tags, 2013-03-04) and in the man page, so it
was done on purpose, but I don't know if it was a good thing.

Perhaps a justification is that annotated tags are clearly meant to be
public while lightweight tags can also be used as private bookmarks.

In any case, the fact that it's been this way and documented this way
since 2013 makes it a bit hard to change now.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]