diff options
author | Mike Hommey <mh@glandium.org> | 2007-12-11 00:08:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-14 21:31:59 -0800 |
commit | d7e92806cdc5ca78c4db879c68f91c70ff9e1ade (patch) | |
tree | 143a026ce36378df60b8d0d6a555713be3fa9ce8 /http.h | |
parent | 3a462bc9ba8cc46dcd5e49ae884968e1921c265f (diff) | |
download | git-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |