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

Function setup_reference

builtin/clone.c:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static void setup_reference(void)
183{
184 int required = 1;
185 for_each_string_list(&option_required_reference,
186 add_one_reference, &required);
187 required = 0;
188 for_each_string_list(&option_optional_reference,
189 add_one_reference, &required);
190}
191
192static void copy_alternates(struct strbuf *src, const char *src_repo)
193{

Callers 1

cmd_cloneFunction · 0.85

Calls 1

for_each_string_listFunction · 0.85

Tested by

no test coverage detected