Re: BUG: For first push to a bare repo, using "--tags" prevents creation of master branch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 29, 2015, 16:05 UTC
- Message-ID
- <xmqqeglze5cu.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <vpq4mmvs7zx.fsf@anie.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> Perhaps a justification is that annotated tags are clearly meant to be > public while lightweight tags can also be used as private bookmarks.
Ah, thanks. That makes perfect sense.
> 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.
That too.
I recall "fetch --tags" was updated to become your "--tags-also" by e66ef7ae (Merge branch 'mh/fetch-tags-in-addition-to-normal-refs', 2013-12-12). Perhaps we should do the same on the push side.