Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2022-02-08 00:33:00 +0300
committerJunio C Hamano <gitster@pobox.com>2022-02-08 20:49:20 +0300
commitfe18733927c1d28ffcec3b52908989c591bc7b87 (patch)
tree2d26e45cb38e5bfe26a006cd8e83b8a4f015b168 /sparse-index.c
parent615a84ad788b26260c5b053ace2d5720ea5f05c5 (diff)
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 'sparse-index.c')
0 files changed, 0 insertions, 0 deletions