[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:

committed by
Linus Torvalds

parent
9182f89ab2
commit
cd541a68b3
@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user