diff options
| author | Derrick Stolee <derrickstolee@github.com> | 2022-02-23 14:29:11 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-02-23 12:24:41 -0800 |
| commit | ace5ac533a198e9bb7f634dafa8e7b10a42919c4 (patch) | |
| tree | bc64206ea1b312d4805be120bb3090d4d145d2f2 /commit-graph.c | |
| parent | worktree: extract copy_filtered_worktree_config() (diff) | |
| download | git-ace5ac533a198e9bb7f634dafa8e7b10a42919c4.tar.gz git-ace5ac533a198e9bb7f634dafa8e7b10a42919c4.zip | |
worktree: extract copy_sparse_checkout()
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 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
