MCPcopy Create free account
hub / github.com/git/git / is_per_worktree_ref

Function is_per_worktree_ref

refs.c:881–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881int is_per_worktree_ref(const char *refname)
882{
883 return starts_with(refname, "refs/worktree/") ||
884 starts_with(refname, "refs/bisect/") ||
885 starts_with(refname, "refs/rewritten/");
886}
887
888int is_pseudo_ref(const char *refname)
889{

Callers 2

is_current_worktree_refFunction · 0.85

Calls 1

starts_withFunction · 0.85

Tested by

no test coverage detected