mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +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> |
||
|---|---|---|
| .. | ||
| auto-tmux-dev.test.js | ||
| check-hook-enabled.test.js | ||
| cost-tracker.test.js | ||
| detect-project-worktree.test.js | ||
| doc-file-warning.test.js | ||
| evaluate-session.test.js | ||
| hook-flags.test.js | ||
| hooks.test.js | ||
| observer-memory.test.js | ||
| post-bash-hooks.test.js | ||
| pre-bash-dev-server-block.test.js | ||
| pre-bash-reminders.test.js | ||
| quality-gate.test.js | ||
| suggest-compact.test.js | ||