diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-06-06 16:38:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 17:11:11 -0700 |
commit | cd541a68b38cead87f5fa69d5331c467bce71656 (patch) | |
tree | 8ea892ee097978aa0bc072f824c12fa6c8ab7a4e /ssh-pull.c | |
parent | 9182f89ab2b0d861226c3ee3d98f9a6a670970e3 (diff) | |
download | git-cd541a68b38cead87f5fa69d5331c467bce71656.tar.gz |
[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>
Diffstat (limited to 'ssh-pull.c')
-rw-r--r-- | ssh-pull.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |