Thread (12 messages) 12 messages, 4 authors, 2019-06-06

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

From: Johannes Schindelin <hidden>
Date: 2019-06-06 12:52:47

Hi Denton,

On Wed, 5 Jun 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 "onbranch:" includeIf condition so that it can
conditionally include configuration files if the branch that is checked
out in the current worktree matches the pattern given.

Signed-off-by: Denton Liu <redacted>
---

Thanks for the review, Johannes and Duy. I've incorporated both of your
suggestions into this round.

Notes:
    Changes since v2:

    * Run test-cases outside foo/ since the subdirectory is not necessary
That should indeed take care of my concern. Thank you!
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help