Browse Source

Rename static function fetch_pack() to http_fetch_pack()

Avoid confusion with the non-static function of the same name from
fetch-pack.h.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Michael Haggerty 12 years ago committed by Junio C Hamano
parent
commit
07c19e72c5
  1. 4
      http-walker.c

4
http-walker.c

@ -396,7 +396,7 @@ static int fetch_indices(struct walker *walker, struct alt_base *repo)
return ret; return ret;
} }


static int fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1) static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
{ {
struct packed_git *target; struct packed_git *target;
int ret; int ret;
@ -524,7 +524,7 @@ static int fetch(struct walker *walker, unsigned char *sha1)
if (!fetch_object(walker, altbase, sha1)) if (!fetch_object(walker, altbase, sha1))
return 0; return 0;
while (altbase) { while (altbase) {
if (!fetch_pack(walker, altbase, sha1)) if (!http_fetch_pack(walker, altbase, sha1))
return 0; return 0;
fetch_alternates(walker, data->alt->base); fetch_alternates(walker, data->alt->base);
altbase = altbase->next; altbase = altbase->next;

Loading…
Cancel
Save