{"version":"2.1.281","anchor":"git-dir-probe-distinguishes-enotdir","canonical_anchor":"git-dir-probe-distinguishes-enotdir","heading":"Git-dir probe distinguishes ENOTDIR","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/git-dir-probe-distinguishes-enotdir","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Git-dir probe distinguishes ENOTDIR\n\nA git-folder check now reports a path through a file as having no git folder\n\n**Unclear.** The finding does not say what a reader sees differently as a result.\n\n**What**\n\nClaude Code probes for a project's git folder. It now handles the ENOTDIR error, which means part of a path is a file where a folder was expected. That case returns `\"no_git_dir\"`, not `\"irregular\"` or `\"unreadable\"`.\n\n**Why**\n\nThe case is treated as there being no git folder, not as a damaged or unreadable one."}