Re: [RFC] make --set-upstream work for local branches not in refs/heads

2014-03-06 Thread Krzesimir Nowak
On Tue, 2014-03-04 at 11:44 -0800, Junio C Hamano wrote: > Krzesimir Nowak writes: > > > It might be possible (in "Gerrited" setups) to have local branches > > outside refs/heads/, like for example in following fetch config: > > > > [remote "origin"] > > url = ssh://u...@example.com/my-projec

Re: [RFC] make --set-upstream work for local branches not in refs/heads

2014-03-04 Thread Junio C Hamano
Krzesimir Nowak writes: > It might be possible (in "Gerrited" setups) to have local branches > outside refs/heads/, like for example in following fetch config: > > [remote "origin"] > url = ssh://u...@example.com/my-project > fetch = +refs/heads/*:refs/remotes/origin/* > fetch =

[RFC] make --set-upstream work for local branches not in refs/heads

2014-03-04 Thread Krzesimir Nowak
It might be possible (in "Gerrited" setups) to have local branches outside refs/heads/, like for example in following fetch config: [remote "origin"] url = ssh://u...@example.com/my-project fetch = +refs/heads/*:refs/remotes/origin/* fetch = +refs/wip/*:refs/remotes/origin-