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

Function cmd_reflog_exists

t/helper/test-ref-store.c:247–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247static int cmd_reflog_exists(struct ref_store *refs, const char **argv)
248{
249 const char *refname = notnull(*argv++, "refname");
250
251 return !refs_reflog_exists(refs, refname);
252}
253
254static int cmd_create_reflog(struct ref_store *refs, const char **argv)
255{

Callers

nothing calls this directly

Calls 2

notnullFunction · 0.85
refs_reflog_existsFunction · 0.85

Tested by

no test coverage detected