diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-08 20:06:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-08 20:06:23 -0700 |
commit | 31a3c6bb45aa61e45f1663871620eaf742f0abbb (patch) | |
tree | 5d3fcd7f35999e519a3df485f1c61e9f2c2fed80 /http-walker.c | |
parent | Merge branch 'jn/webfeed' (diff) | |
parent | Make ls-remote http://... list HEAD, like for git://... (diff) | |
download | tgif-31a3c6bb45aa61e45f1663871620eaf742f0abbb.tar.xz |
Merge branch 'db/learn-HEAD'
* db/learn-HEAD:
Make ls-remote http://... list HEAD, like for git://...
Make walker.fetch_ref() take a struct ref.
Diffstat (limited to 'http-walker.c')
-rw-r--r-- | http-walker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http-walker.c b/http-walker.c index 7bda34d914..99f397e32b 100644 --- a/http-walker.c +++ b/http-walker.c @@ -888,10 +888,10 @@ static int fetch(struct walker *walker, unsigned char *sha1) data->alt->base); } -static int fetch_ref(struct walker *walker, char *ref, unsigned char *sha1) +static int fetch_ref(struct walker *walker, struct ref *ref) { struct walker_data *data = walker->data; - return http_fetch_ref(data->alt->base, ref, sha1); + return http_fetch_ref(data->alt->base, ref); } static void cleanup(struct walker *walker) |