{"version":"2.1.319","anchor":"git-repo-detection-stricter-behind-a-gate","canonical_anchor":"git-repo-detection-stricter-behind-a-gate","heading":"Git repository detection can be stricter","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319\/e\/git-repo-detection-stricter-behind-a-gate","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.319","markdown":"### Git repository detection can be stricter\n\nUnder a condition, Claude Code now rejects git repositories with unusual gitdir paths or extra markers\n\n**Unclear.** What turns the stricter checks on is not known.\n\n**What**\n\nWhen Claude Code works out which git repository a folder belongs to, it can now reject a gitdir path that is not in its standard form, along with certain extra markers. A gitdir path is where git's own data is kept. These checks apply only when an internal condition is met.\n\n**Why**\n\nSome repositories that were accepted before may now not be recognised.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}