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

Function is_our_ref

upload-pack.c:679–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677
678
679static int is_our_ref(struct object *o, enum allow_uor allow_uor)
680{
681 return o->flags & ((allow_hidden_refs(allow_uor) ? 0 : HIDDEN_REF) | OUR_REF);
682}
683
684/*
685 * on successful case, it's up to the caller to close cmd->out

Callers 3

do_reachable_revlistFunction · 0.85
check_non_tipFunction · 0.85
receive_needsFunction · 0.85

Calls 1

allow_hidden_refsFunction · 0.85

Tested by

no test coverage detected