{"version":"2.1.274","anchor":"coreexcludesfile-resolution-simplified-to-a-pure-function","canonical_anchor":"coreexcludesfile-resolution-simplified-to-a-pure-function","heading":"'core.excludesfile' resolution simplified to a pure function","tier":"internal","area":"Git","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/coreexcludesfile-resolution-simplified-to-a-pure-function","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### 'core.excludesfile' resolution simplified to a pure function\n\nGlobal gitignore file lookup no longer runs the git command itself, just processes the result\n\n**What**\n\nClaude Code figures out where your global gitignore file lives (the `core.excludesfile` git setting) so it can respect files you've told git to ignore everywhere. Previously, the function that determined this path ran the `git config --global --get core.excludesfile` command itself. Now that function just takes the already-looked-up value as plain text and processes it, without running git.\n\n**Why**\n\nSeparating the git lookup from the processing logic is an internal cleanup; it should not change what path Claude Code ends up using, but makes that piece of code simpler to run and test on its own.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}