[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 <torvalds@osdl.org>
This commit is contained in:
Daniel Barkalow
2005-06-06 16:38:26 -04:00
committed by Linus Torvalds
parent 9182f89ab2
commit cd541a68b3
5 changed files with 63 additions and 9 deletions

View File

@ -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";