summaryrefslogtreecommitdiff
path: root/ssh-pull.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-06-06 20:38:26 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-07 00:11:11 (GMT)
commitcd541a68b38cead87f5fa69d5331c467bce71656 (patch)
tree8ea892ee097978aa0bc072f824c12fa6c8ab7a4e /ssh-pull.c
parent9182f89ab2b0d861226c3ee3d98f9a6a670970e3 (diff)
downloadgit-cd541a68b38cead87f5fa69d5331c467bce71656.zip
git-cd541a68b38cead87f5fa69d5331c467bce71656.tar.gz
git-cd541a68b38cead87f5fa69d5331c467bce71656.tar.bz2
[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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssh-pull.c b/ssh-pull.c
index 3556d89..a426342 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;