summaryrefslogtreecommitdiff
path: root/local-fetch.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-27 21:56:17 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-07-28 02:33:48 (GMT)
commit4211e4d10cd98b1aeed97bdb6cdebb9411956bb5 (patch)
tree223090ece6a5e547e1e825051d9ca902b2977173 /local-fetch.c
parentc6b69bdbc1b0b914aa0d1e59a29305fce82d6f06 (diff)
downloadgit-4211e4d10cd98b1aeed97bdb6cdebb9411956bb5.zip
git-4211e4d10cd98b1aeed97bdb6cdebb9411956bb5.tar.gz
git-4211e4d10cd98b1aeed97bdb6cdebb9411956bb5.tar.bz2
Make pull() support fetching multiple targets at once
pull() now takes an array of arguments instead of just one of each kind. Currently, no users use the new capability, but that'll change. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'local-fetch.c')
-rw-r--r--local-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/local-fetch.c b/local-fetch.c
index 452b833..1be7390 100644
--- a/local-fetch.c
+++ b/local-fetch.c
@@ -242,7 +242,7 @@ int main(int argc, char **argv)
commit_id = argv[arg];
path = argv[arg + 1];
- if (pull(commit_id, write_ref, path))
+ if (pull(1, &commit_id, &write_ref, path))
return 1;
return 0;