Re: [PATCH] branch: make --set-upstream saner without an explicit starting point
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 6, 2012, 07:29 UTC
- Message-ID
- <7vpq89ny8q.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1341559103.10752.59.camel@flaca.cmartin.tk>
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?