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 /local-pull.c | |
parent | 9182f89ab2b0d861226c3ee3d98f9a6a670970e3 (diff) | |
download | git-cd541a68b38cead87f5fa69d5331c467bce71656.tar.gz git-cd541a68b38cead87f5fa69d5331c467bce71656.tar.xz |
[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 'local-pull.c')
-rw-r--r-- | local-pull.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/local-pull.c b/local-pull.c index afdba9f52..8bfe67b40 100644 --- a/local-pull.c +++ b/local-pull.c @@ -73,6 +73,11 @@ int fetch(unsigned char *sha1) return -1; } +int fetch_ref(char *ref, unsigned char *sha1) +{ + return -1; +} + static const char *local_pull_usage = "git-local-pull [-c] [-t] [-a] [-l] [-s] [-n] [-v] [-d] [--recover] commit-id path"; |