[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
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user