MCPcopy
hub / github.com/claude-code-best/claude-code / isShallowClone

Function isShallowClone

src/utils/git.ts:608–610  ·  view source on GitHub ↗

* Check if we're in a shallow clone by looking for /shallow.

()

Source from the content-addressed store, hash-verified

606 * Check if we're in a shallow clone by looking for <gitDir>/shallow.
607 */
608function isShallowClone(): Promise<boolean> {
609 return isShallowCloneFs()
610}
611
612/**
613 * Capture untracked files (git diff doesn't include them).

Callers 1

preserveGitStateForIssueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected