Re: [RFC PATCH] config: learn the "onbranch:" includeIf condition

2019-05-31 Thread Denton Liu
On Fri, May 31, 2019 at 07:23:56PM +0200, Johannes Schindelin wrote: > Hi Denton, > > On Fri, 31 May 2019, Denton Liu wrote: > > > On Fri, May 31, 2019 at 02:58:30PM +0200, Johannes Schindelin wrote: > > > > > On Thu, 30 May 2019, Denton Liu wrote: > > > [...] > > > > > I decided to go ahead a

Re: [RFC PATCH] config: learn the "onbranch:" includeIf condition

2019-05-31 Thread Johannes Schindelin
Hi Denton, On Fri, 31 May 2019, Denton Liu wrote: > On Fri, May 31, 2019 at 02:58:30PM +0200, Johannes Schindelin wrote: > > > On Thu, 30 May 2019, Denton Liu wrote: > > > > > Currently, if a user wishes to have individual settings per branch, > > > they are required to manually keep track of the

Re: [RFC PATCH] config: learn the "onbranch:" includeIf condition

2019-05-31 Thread Denton Liu
Hi Johannes, On Fri, May 31, 2019 at 02:58:30PM +0200, Johannes Schindelin wrote: > Hi, > > On Thu, 30 May 2019, Denton Liu wrote: > > > Currently, if a user wishes to have individual settings per branch, they > > are required to manually keep track of the settings in their head and > > manually

Re: [RFC PATCH] config: learn the "onbranch:" includeIf condition

2019-05-31 Thread Johannes Schindelin
Hi, On Thu, 30 May 2019, Denton Liu wrote: > Currently, if a user wishes to have individual settings per branch, they > are required to manually keep track of the settings in their head and > manually set the options on the command-line or change the config at > each branch. > > Teach config the

[RFC PATCH] config: learn the "onbranch:" includeIf condition

2019-05-30 Thread Denton Liu
Currently, if a user wishes to have individual settings per branch, they are required to manually keep track of the settings in their head and manually set the options on the command-line or change the config at each branch. Teach config the "onbranch:" includeIf condition so that it can condition