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

Function cmd_list

scalar.c:617–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static int cmd_list(int argc, const char **argv UNUSED)
618{
619 if (argc != 1)
620 die(_("`scalar list` does not take arguments"));
621
622 if (run_git("config", "--global", "--get-all", "scalar.repo", NULL) < 0)
623 return -1;
624 return 0;
625}
626
627static int cmd_register(int argc, const char **argv)
628{

Callers

nothing calls this directly

Calls 2

run_gitFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected