summaryrefslogtreecommitdiffstats
path: root/ssh-pull.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-06-06 22:38:26 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-07 02:11:11 +0200
commitcd541a68b38cead87f5fa69d5331c467bce71656 (patch)
tree8ea892ee097978aa0bc072f824c12fa6c8ab7a4e /ssh-pull.c
parent[PATCH] rsh.c environment variable (diff)
downloadgit-cd541a68b38cead87f5fa69d5331c467bce71656.tar.xz
git-cd541a68b38cead87f5fa69d5331c467bce71656.zip
[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 '')
-rw-r--r--ssh-pull.c5
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;