MCPcopy Index your code
hub / github.com/git/git / fetch_indices

Function fetch_indices

http-push.c:708–725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708static int fetch_indices(void)
709{
710 int ret;
711
712 if (push_verbosely)
713 fprintf(stderr, "Getting pack list\n");
714
715 switch (http_get_info_packs(repo->url, &repo->packs)) {
716 case HTTP_OK:
717 case HTTP_MISSING_TARGET:
718 ret = 0;
719 break;
720 default:
721 ret = -1;
722 }
723
724 return ret;
725}
726
727static void one_remote_object(const struct object_id *oid)
728{

Callers 1

cmd_mainFunction · 0.70

Calls 1

http_get_info_packsFunction · 0.85

Tested by

no test coverage detected