Skip to content

Commit 07c19e7

Browse files
mhaggergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8db43d2 commit 07c19e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http-walker.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ static int fetch_indices(struct walker *walker, struct alt_base *repo)
396396
return ret;
397397
}
398398

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)
400400
{
401401
struct packed_git *target;
402402
int ret;
@@ -524,7 +524,7 @@ static int fetch(struct walker *walker, unsigned char *sha1)
524524
if (!fetch_object(walker, altbase, sha1))
525525
return 0;
526526
while (altbase) {
527-
if (!fetch_pack(walker, altbase, sha1))
527+
if (!http_fetch_pack(walker, altbase, sha1))
528528
return 0;
529529
fetch_alternates(walker, data->alt->base);
530530
altbase = altbase->next;

0 commit comments

Comments
 (0)