mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 15:32:31 +02:00
In git worktrees, .git is a file (not a directory) containing a gitdir pointer. The -d test fails for worktree checkouts, causing project detection to fall through to the "global" fallback. Changing to -e (exists) handles both regular repos and worktrees correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ci | ||
| hooks | ||
| integration | ||
| lib | ||
| scripts | ||
| codex-config.test.js | ||
| opencode-config.test.js | ||
| run-all.js | ||