summaryrefslogtreecommitdiff
path: root/t/t3311-notes-merge-fanout.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2022-02-07 21:33:00 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-08 09:49:20 -0800
commitfe18733927c1d28ffcec3b52908989c591bc7b87 (patch)
tree2d26e45cb38e5bfe26a006cd8e83b8a4f015b168 /t/t3311-notes-merge-fanout.sh
parentworktree: create init_worktree_config() (diff)
downloadtgif-fe18733927c1d28ffcec3b52908989c591bc7b87.tar.xz
config: add repo_config_set_worktree_gently()
Some config settings, such as those for sparse-checkout, are likely intended to only apply to one worktree at a time. To make this write easier, add a new config API method, repo_config_set_worktree_gently(). This method will attempt to write to the worktree-specific config, but will instead write to the common config file if worktree config is not enabled. The next change will introduce a consumer of this method. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3311-notes-merge-fanout.sh')
0 files changed, 0 insertions, 0 deletions