Development record
core.Status.IsGitRepo=false in a linked git worktree or submodule: isDir(.git) requires a directory but .git is a regular gitfile (gitlink) in worktrees/submodules, so a genuine checkout reports not-a-git-repo (core.go:47, C1). Detector: an exists-not-isDir check for .git with a worktree fixture. Corpus: C1.
issueresolvednitpickiss-72
core.Status.IsGitRepo=false in a linked git worktree or submodule: isDir(.git) requires a directory but .git is a regular gitfile (gitlink) in worktrees/submodules, so a genuine checkout reports not-a-git-repo (core.go:47, C1). Detector: an exists-not-isDir check for .git with a worktree fixture. Corpus: C1.
Frontmatter
| id | iss-72 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | nitpick |
.abcd/work/issues/resolved/iss-72-core-isgitrepo-misses-worktrees.md
open on GitHub ↗ · commit history ↗
mentions2
- dcn-26082200000000012026-08-22 — Bug-hunt round 7, branch bughunt-b/round-7. Baseline (make preflight
- iss-2608220136593438ahoy classify tests .git with isDir, so a linked worktree or submodule (where .git is a gitfile) is misread as unmanaged-folder, every gap detector is skipped, and ahoy install exits 0 aborted with a wrong not-a-git-repository reason; the last isDir(.git) holdout after iss-72