Re: [PATCH 02/11] worktree: extract copy_filtered_worktree_config()
"Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 12 quoted lines
> From: Derrick Stolee <derrickstolee@github.com>
>
> 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>
> ---
> builtin/worktree.c | 81 ++++++++++++++++++++++++----------------------
> 1 file changed, 42 insertions(+), 39 deletions(-)
Quite straight-forward. Looking good.
Thanks.