Git development
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Junio C Hamano <gitster@pobox.com>
Cc: Michael Darling <darlingm@gmail.com>, git@vger.kernel.org
Subject: Re: BUG: For first push to a bare repo, using "--tags" prevents creation of master branch
Date: Fri, 29 May 2015 19:53:43 +0200	[thread overview]
Message-ID: <vpqoal3p8wo.fsf@anie.imag.fr> (raw)
In-Reply-To: <xmqqeglze5cu.fsf@gitster.dls.corp.google.com> (Junio C. Hamano's message of "Fri, 29 May 2015 09:05:53 -0700")

Junio C Hamano <gitster@pobox.com> writes:

> 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.

Would we still have a way to push tags only with this?

fetch and push are a bit different: it's almost never a bad idea to run
fetch (I see remote-tracking as a kind of cache, and fetch is the way to
refresh this cache), but pushing too much can be harmful. Not a strong
objection, but I'm not sure that this change is 100% safe for everyone.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

  parent reply	other threads:[~2015-05-29 17:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29  0:10 BUG: For first push to a bare repo, using "--tags" prevents creation of master branch Michael Darling
2015-05-29  5:35 ` Matthieu Moy
2015-05-29 15:21   ` Junio C Hamano
2015-05-29 15:45     ` Matthieu Moy
2015-05-29 16:05       ` Junio C Hamano
2015-05-29 16:40         ` Junio C Hamano
2015-05-29 17:53         ` Matthieu Moy [this message]
2015-05-29 18:03           ` Junio C Hamano
2015-06-02 23:48           ` Not a " Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqoal3p8wo.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=darlingm@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox