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

Function validate_remote_tracking_branch

branch.c:501–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499}
500
501static int validate_remote_tracking_branch(char *ref)
502{
503 return !for_each_remote(check_tracking_branch, ref);
504}
505
506static const char upstream_not_branch[] =
507N_("cannot set up tracking information; starting point '%s' is not a branch");

Callers 1

dwim_branch_startFunction · 0.85

Calls 1

for_each_remoteFunction · 0.85

Tested by

no test coverage detected