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

Function notnull

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

Source from the content-addressed store, hash-verified

53static struct flag_definition empty_flags[] = { { NULL, 0 } };
54
55static const char *notnull(const char *arg, const char *name)
56{
57 if (!arg)
58 die("%s required", name);
59 return arg;
60}
61
62static unsigned int arg_flags(const char *arg, const char *name,
63 struct flag_definition *defs)

Callers 14

arg_flagsFunction · 0.85
cmd_create_symrefFunction · 0.85
cmd_rename_refFunction · 0.85
cmd_for_each_refFunction · 0.85
cmd_resolve_refFunction · 0.85
cmd_verify_refFunction · 0.85
cmd_for_each_reflog_entFunction · 0.85
cmd_reflog_existsFunction · 0.85
cmd_create_reflogFunction · 0.85
cmd_delete_reflogFunction · 0.85

Calls 1

dieFunction · 0.50

Tested by

no test coverage detected