Junio C Hamano <gitster@xxxxxxxxx> writes: > * ds/sparse-checkout-requires-per-worktree-config (2021-12-21) 5 commits > - sparse-checkout: use repo_config_set_worktree_gently() > - config: add repo_config_set_worktree_gently() > - worktree: add upgrade_to_worktree_config() > - config: make some helpers repo-aware > - setup: use a repository when upgrading format > > "git sparse-checkout" wants to work with per-worktree configration, > but did not work well in a worktree attached to a bare repository. > > Expecting a redesign? > cf. <CABPp-BG7nwsdEYrnfqhAbWU4ndJHcqGf6RS_6DzJittuNVLvoA@xxxxxxxxxxxxxx> > source: <pull.1101.v2.git.1640114048.gitgitgadget@xxxxxxxxx> FWIW, this topic by itself passes its self test, but when queued near the tip of 'seen', it seems to break t1091. For an example run that fails on win+VS test (8), see https://github.com/git/git/runs/4629824103