Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ worktree-detection.test.ts
File
worktree-detection.test.ts
__tests__/worktree-detection.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Git worktree index-mismatch detection (issue #155).
3
*
4
* A CodeGraph index is resolved by walking up to the nearest `.codegraph/`.
Callers
nothing calls this directly
Calls
15
detectWorktreeIndexMismatch
Function · 0.90
gitWorktreeRoot
Function · 0.90
worktreeMismatchWarning
Function · 0.90
worktreeMismatchNotice
Function · 0.90
nestedRepositoryBelow
Function · 0.90
gitCommonDir
Function · 0.90
describe
Function · 0.85
real
Function · 0.85
expectAgentAdvice
Function · 0.85
lowerDrive
Function · 0.85
addSubmodule
Function · 0.85
addBareGitlink
Function · 0.85
Tested by
no test coverage detected