Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:58:39

Johan Herland [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help