summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-08 20:06:23 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-08 20:06:23 -0700
commit31a3c6bb45aa61e45f1663871620eaf742f0abbb (patch)
tree5d3fcd7f35999e519a3df485f1c61e9f2c2fed80 /http.h
parenta064ac1bc3f13103f92ae198da7fc44a1452c89d (diff)
parentbe885d96fe0ebed47e637f3b0dd24fc5902f7081 (diff)
downloadgit-31a3c6bb45aa61e45f1663871620eaf742f0abbb.tar.gz
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.h')
-rw-r--r--http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.h b/http.h
index 04169d5f9c..a04fc6a927 100644
--- a/http.h
+++ b/http.h
@@ -105,6 +105,6 @@ static inline int missing__target(int code, int result)
#define missing_target(a) missing__target((a)->http_code, (a)->curl_result)
-extern int http_fetch_ref(const char *base, const char *ref, unsigned char *sha1);
+extern int http_fetch_ref(const char *base, struct ref *ref);
#endif /* HTTP_H */