Re: [PATCH v1] config/branch: state that .merge is the remote ref

2019-10-19 Thread Philip Oakley
Hi Junio, On 19/10/2019 00:11, Junio C Hamano wrote: Philip Oakley writes: branch..merge::     Defines, for the local branch , the upstream branch ref     _on the remote_ (as given by branch..remote).     The upstream ref may be different from the local branch ref. optionally s/different f

Re: [PATCH v1] config/branch: state that .merge is the remote ref

2019-10-18 Thread Junio C Hamano
Philip Oakley writes: > branch..merge:: >     Defines, for the local branch , the upstream branch ref >     _on the remote_ (as given by branch..remote). >     The upstream ref may be different from the local branch ref. > > optionally s/different from/ same as/ ? That "optionally" part is exact

Re: [PATCH v1] config/branch: state that .merge is the remote ref

2019-10-18 Thread Philip Oakley
Hi Junio, On 18/10/2019 02:32, Junio C Hamano wrote: Philip Oakley writes: branch..merge:: Defines, together with branch..remote, the upstream branch - for the given branch. It tells 'git fetch'/'git pull'/'git rebase' which + for the given branch. It defines the branch

Re: [PATCH v1] config/branch: state that .merge is the remote ref

2019-10-17 Thread Junio C Hamano
Philip Oakley writes: > branch..merge:: > Defines, together with branch..remote, the upstream branch > - for the given branch. It tells 'git fetch'/'git pull'/'git rebase' which > + for the given branch. It defines the branch name _on the remote_, > + which may be different fro

[PATCH v1] config/branch: state that .merge is the remote ref

2019-10-16 Thread Philip Oakley
The branch..merge value typically looks just like a local ref. Tell the reader it is the ref name at the remote, which may be different. Signed-off-by: Philip Oakley --- This confusion had me scratching my head for many minutes recently. A simple clarification would avoid such mental model error