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 --- ssh-pull.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ssh-pull.c') diff --git a/ssh-pull.c b/ssh-pull.c index 3556d89a33..a426342590 100644 --- a/ssh-pull.c +++ b/ssh-pull.c @@ -39,6 +39,11 @@ int get_version(void) return 0; } +int fetch_ref(char *ref, unsigned char *sha1) +{ + return -1; +} + int main(int argc, char **argv) { char *commit_id; -- cgit v1.2.3