{"version":"2.1.324","anchor":"sparse-worktree-setup-now-runs-per-batch-sparse-checkout-com","canonical_anchor":"sparse-worktree-setup-now-runs-per-batch-sparse-checkout-com","heading":"Sparse worktree setup now applies path patterns in batches","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/sparse-worktree-setup-now-runs-per-batch-sparse-checkout-com","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Sparse worktree setup now applies path patterns in batches\n\nWhen setting up a sparse worktree, Claude Code now applies the path patterns in several batches instead of one git command\n\n**What**\n\nA sparse checkout is a git setup that only fills in the folders you ask for. When Claude Code sets one up for a worktree, it now applies the list of path patterns in several batches, running the git sparse-checkout command once per batch. Before, it used a single command for the whole list.\n\nIf a batch fails, you still see the message starting \"Failed to configure sparse-checkout:\".\n\n**Why**\n\nIn practice, setup may now run several git commands in a row instead of one, which matters most when the list of paths is long.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}