summaryrefslogtreecommitdiff
path: root/http-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 /http-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 'http-pull.c')
-rw-r--r--http-pull.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/http-pull.c b/http-pull.c
index ec7f66a..f49525c 100644
--- a/http-pull.c
+++ b/http-pull.c
@@ -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;