aboutsummaryrefslogtreecommitdiffstats
path: root/http.h
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2007-12-11 00:08:25 +0100
committerJunio C Hamano <gitster@pobox.com>2007-12-14 21:31:59 -0800
commitd7e92806cdc5ca78c4db879c68f91c70ff9e1ade (patch)
tree143a026ce36378df60b8d0d6a555713be3fa9ce8 /http.h
parent3a462bc9ba8cc46dcd5e49ae884968e1921c265f (diff)
downloadgit-d7e92806cdc5ca78c4db879c68f91c70ff9e1ade.tar.gz
Move fetch_ref from http-push.c and http-walker.c to http.c
Make the necessary changes to be ok with their difference, and rename the function http_fetch_ref. Signed-off-by: Mike Hommey <mh@glandium.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index 1528d4196f..aeba9301f8 100644
--- a/http.h
+++ b/http.h
@@ -96,4 +96,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);
+
#endif /* HTTP_H */