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

Function cmd__partial_clone

t/helper/test-partial-clone.c:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35int cmd__partial_clone(int argc, const char **argv)
36{
37 setup_git_directory(the_repository);
38
39 if (argc < 4)
40 die("too few arguments");
41
42 if (!strcmp(argv[1], "object-info"))
43 object_info(argv[2], argv[3]);
44 else
45 die("invalid argument '%s'", argv[1]);
46
47 return 0;
48}

Callers

nothing calls this directly

Calls 3

setup_git_directoryFunction · 0.85
object_infoFunction · 0.70
dieFunction · 0.50

Tested by

no test coverage detected