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 --- local-pull.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'local-pull.c') diff --git a/local-pull.c b/local-pull.c index afdba9f52..8bfe67b40 100644 --- a/local-pull.c +++ b/local-pull.c @@ -73,6 +73,11 @@ int fetch(unsigned char *sha1) return -1; } +int fetch_ref(char *ref, unsigned char *sha1) +{ + return -1; +} + static const char *local_pull_usage = "git-local-pull [-c] [-t] [-a] [-l] [-s] [-n] [-v] [-d] [--recover] commit-id path"; -- cgit v1.2.1