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>
Michael Haggerty committed
Sep 9, 2012 at 08:19 UTC
07c19e72c5f07ac687e87e49cbb4e128a8b26629
1 file changed
+2
-2
http-walker.c
+2
-2
@@ -396,7 +396,7 @@ static int fetch_indices(struct walker *walker, struct alt_base *repo)
396
return ret;
397
}
398
399
-static int fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
399
+static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
400
{
401
struct packed_git *target;
402
int ret;
@@ -524,7 +524,7 @@ static int fetch(struct walker *walker, unsigned char *sha1)
524
if (!fetch_object(walker, altbase, sha1))
525
return 0;
526
while (altbase) {
527
- if (!fetch_pack(walker, altbase, sha1))
527
+ if (!http_fetch_pack(walker, altbase, sha1))
528
return 0;
529
fetch_alternates(walker, data->alt->base);
530
altbase = altbase->next;