[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

@ -92,6 +92,11 @@ int fetch(unsigned char *sha1)
return 0;
}
int fetch_ref(char *ref, unsigned char *sha1)
{
return -1;
}
int main(int argc, char **argv)
{
char *commit_id;