{"version":"2.1.334","anchor":"git-commands-run-with-pathspec-magic-env-vars-forced-off","canonical_anchor":"git-commands-run-with-pathspec-magic-env-vars-forced-off","heading":"Your git path-matching settings no longer affect one of Claude Code's git commands","tier":"notice","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/git-commands-run-with-pathspec-magic-env-vars-forced-off","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Your git path-matching settings no longer affect one of Claude Code's git commands\n\nOne git command Claude Code runs now turns off git's special path-matching settings, whatever your environment says\n\n**What**\n\nGit has environment variables, settings passed down to programs you start, that change how it reads file paths. One of Claude Code's git commands now sets all four of them to `\"0\"`, which turns them off:\n\n- `GIT_LITERAL_PATHSPECS`\n\n- `GIT_ICASE_PATHSPECS`\n\n- `GIT_GLOB_PATHSPECS`\n\n- `GIT_NOGLOB_PATHSPECS`\n\nIf you set any of these yourself, that command now ignores them.\n\n**Why**\n\nPeople who set these variables for all their programs no longer change how this command reads paths.\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}