Re: [PATCH 0/5] branch: Fix --track on a remote-tracking non-branch

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

 



Johan Herland <johan@xxxxxxxxxxx> writes:

> However, in addition to requiring a matching remote/refspec, I also
> (for reasons that are still unclear to me) added a requirement that
> the resulting remote ref name (to be stored into branch.<name>.merge)
> must start with "refs/heads/" (see the last line of
> branch.c:check_tracking_branch()).
>
> Although it is typically the case that an upstream branch is a proper
> (refs/heads/*) branch in the remote repo (which explains why we have
> not noticed this until now), I think it is _wrong_ of Git to _require_
> this when configuring the upstream.

Yeah, I agree.
--
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]