From: Bello Olamide Date: Thu, 26 Feb 2026 16:24:41 GMT Subject: Re: [Outreachy PATCH v7 2/3] environment: stop using core.sparseCheckout globally Message-ID: In-Reply-To: On Thu, 26 Feb 2026 at 16:23, Junio C Hamano wrote: > > Christian Couder writes: > > > On Mon, Feb 16, 2026 at 5:39 PM Olamide Caleb Bello 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'. Thank you very much for all your assistance.