{"version":"2.1.281","anchor":"git-dir-detection-for-a-path-simplified-to-a-single-director","canonical_anchor":"git-dir-detection-for-a-path-simplified-to-a-single-director","heading":"Git-dir detection for a path simplified to a single-directory check","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/git-dir-detection-for-a-path-simplified-to-a-single-director","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Git-dir detection for a path simplified to a single-directory check\n\nDetecting git folders for a path now checks only that folder, not the folders above it\n\n**Unclear.** The finding does not say where this helper is used or what visible behaviour changes as a result.\n\n**What**\n\nClaude Code has a helper that looks for folders that appear to be git folders (the hidden folders git uses to track a project). It used to list every parent folder of a given path that looked like one. It now checks only the given folder itself.\n\n**Why**\n\nIn practice, a folder higher up the path that looks like a git folder is no longer counted when this helper runs."}