Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Rename static function fetch_pack() to http_fetch_pack()
author
Michael Haggerty
<mhagger@alum.mit.edu>
Sun, 9 Sep 2012 06:19:38 +0000
(08:19 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 12 Sep 2012 18:46:31 +0000
(11:46 -0700)
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>
http-walker.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
8db43d2
)
diff --git
a/http-walker.c
b/http-walker.c
index 51a906e9e3316582561304995e1a1bbbdcd6ca7c..1516c5eb290746bad4551515fda7930d2f55d32b 100644
(file)
--- a/
http-walker.c
+++ b/
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;
int ret;
{
struct packed_git *target;
int ret;
@@
-524,7
+524,7
@@
static int fetch(struct walker *walker, unsigned char *sha1)
if (!fetch_object(walker, altbase, sha1))
return 0;
while (altbase) {
if (!fetch_object(walker, altbase, sha1))
return 0;
while (altbase) {
- if (!fetch_pack(walker, altbase, sha1))
+ if (!
http_
fetch_pack(walker, altbase, sha1))
return 0;
fetch_alternates(walker, data->alt->base);
altbase = altbase->next;
return 0;
fetch_alternates(walker, data->alt->base);
altbase = altbase->next;