{"version":"2.1.299","anchor":"worktree-include-handle-empty-git-ls-files-and-failures","canonical_anchor":"worktree-include-handle-empty-git-ls-files-and-failures","heading":"Worktree include list treats a failed git listing as empty","tier":"notice","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/worktree-include-handle-empty-git-ls-files-and-failures","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Worktree include list treats a failed git listing as empty\n\nWhen the git file listing behind worktree include fails, Claude Code now treats its output as empty instead of stopping early\n\n**What**\n\nWhen Claude Code builds the list of files for the worktree include feature, it asks git for a file listing. If that git command fails, Claude Code no longer stops at that point. It treats the output as empty and returns no files only when the resulting list is empty.\n\n**Why**\n\nThis is a small robustness change. In practice the result is almost always the same: a failed listing still leads to no files being included.\n\n- Area: Worktrees\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}