From cd541a68b38cead87f5fa69d5331c467bce71656 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Mon, 6 Jun 2005 16:38:26 -0400 Subject: [PATCH] Generic support for pulling refs This adds support to pull.c for requesting a reference and writing it to a file. All of the git-*-pull programs get stubs for now. Signed-off-by: Linus Torvalds --- http-pull.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'http-pull.c') diff --git a/http-pull.c b/http-pull.c index ec7f66af8f..f49525c002 100644 --- a/http-pull.c +++ b/http-pull.c @@ -92,6 +92,11 @@ int fetch(unsigned char *sha1) return 0; } +int fetch_ref(char *ref, unsigned char *sha1) +{ + return -1; +} + int main(int argc, char **argv) { char *commit_id; -- cgit v1.3