Re: [Outreachy PATCH v7 2/3] environment: stop using core.sparseCheckout globally
Christian Couder <christian.couder@gmail.com> writes:
Show 14 quoted lines
> On Mon, Feb 16, 2026 at 5:39 PM Olamide Caleb Bello <belkid98@gmail.com> wrote:
>
>> @@ -670,7 +672,8 @@ static void clear_skip_worktree_from_present_files_full(struct index_state *ista
>>
>> void clear_skip_worktree_from_present_files(struct index_state *istate)
>> {
>> - if (!core_apply_sparse_checkout ||
>> + struct repo_config_values *cfg = repo_config_values(the_repository);
>
> Nit: it would be better with a blank line here.
>
>> + if (!cfg->apply_sparse_checkout ||
>> sparse_expect_files_outside_of_patterns)
>> return;OK. Agreed and locally amended.
Let's merge the topic down to 'next'.