From d7e92806cdc5ca78c4db879c68f91c70ff9e1ade Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 11 Dec 2007 00:08:25 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- http.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'http.h') 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 */ -- cgit v1.2.3