From: "Carlos Martín Nieto" <cmn@elego.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] branch: make --set-upstream saner without an explicit starting point
Date: Fri, 06 Jul 2012 10:03:29 +0200 [thread overview]
Message-ID: <1341561809.10752.61.camel@flaca.cmartin.tk> (raw)
In-Reply-To: <7vpq89ny8q.fsf@alter.siamese.dyndns.org>
On Fri, 2012-07-06 at 00:29 -0700, Junio C Hamano wrote:
> Carlos Martín Nieto <cmn@elego.de> writes:
>
> > Yep, this seems good. Now that you mention the <name> existing, I wonder
> > if letting --set-upstream create the branch as well wasn't another bad
> > decision, as the name suggests it's for setting that information after
> > the branch has already been created.
>
> You should be able to correct that for --set-upstream-to=<upstream>.
> It is clearly about setting upstream for an existing branch, right?
Yeah, it's for changing the tracking information and should refuse to do
so if the branch doesn't exist yet.
cmn
next prev parent reply other threads:[~2012-07-06 8:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 9:29 [PATCH] branch: make --set-upstream saner without an explicit starting point Carlos Martín Nieto
2012-07-05 9:42 ` Jeff King
2012-07-05 16:34 ` Carlos Martín Nieto
2012-07-05 17:03 ` Junio C Hamano
2012-07-05 17:44 ` Junio C Hamano
2012-07-06 7:18 ` Carlos Martín Nieto
2012-07-06 7:29 ` Junio C Hamano
2012-07-06 8:03 ` Carlos Martín Nieto [this message]
2012-07-18 5:56 ` Junio C Hamano
2012-07-18 15:33 ` Carlos Martín Nieto
2012-08-16 21:58 ` 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=1341561809.10752.61.camel@flaca.cmartin.tk \
--to=cmn@elego.de \
--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;
as well as URLs for NNTP newsgroup(s).