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

2013-09-06 Thread Junio C Hamano
Johan Herland 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..merge) > must start with "refs/heads/" (see the last line of > branch.c:chec

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

2013-09-06 Thread Johan Herland
Hi, Per Cederqvist alerted me to a change in v1.8.3.2 that broke his build/test infrastructure. Specifically, before 41c21f2 (branch.c: Validate tracking branches with refspecs instead of refs/remotes/*) Git allowed a local branch to --track anything within refs/remotes/*, and in 41c21f2, I change