Re: [PATCH] branch: make --set-upstream saner without an explicit starting point

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

 



On Fri, 2012-07-06 at 00:29 -0700, Junio C Hamano wrote:
> Carlos Martín Nieto <cmn@xxxxxxxx> 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


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