summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <derrickstolee@github.com>2022-02-23 14:29:10 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-23 12:24:41 -0800
commit863970536525f071b29f2ee73ac9ac0a35b32a43 (patch)
treeb5aed7cd71bafc326dcdb98295edc59bad0cbede /t/helper
parentworktree: combine two translatable messages (diff)
downloadtgif-863970536525f071b29f2ee73ac9ac0a35b32a43.tar.xz
worktree: extract copy_filtered_worktree_config()
This logic was introduced by 5325591 (worktree: copy sparse-checkout patterns and config on add, 2022-02-07), but some feedback came in that the add_worktree() method was already too complex. It is better to extract this logic into a helper method to reduce this complexity. Reported-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
0 files changed, 0 insertions, 0 deletions