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

Function cmd_remote_ext

builtin/remote-ext.c:198–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198int cmd_remote_ext(int argc,
199 const char **argv,
200 const char *prefix,
201 struct repository *repo UNUSED)
202{
203 BUG_ON_NON_EMPTY_PREFIX(prefix);
204
205 show_usage_if_asked(argc, argv, usage_msg);
206
207 if (argc != 3)
208 usage(usage_msg);
209
210 return command_loop(argv[2]);
211}

Callers

nothing calls this directly

Calls 3

show_usage_if_askedFunction · 0.85
command_loopFunction · 0.70
usageFunction · 0.50

Tested by

no test coverage detected