diff options
author | Petr Baudis <pasky@suse.cz> | 2006-07-27 23:56:17 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-27 19:33:48 -0700 |
commit | 4211e4d10cd98b1aeed97bdb6cdebb9411956bb5 (patch) | |
tree | 223090ece6a5e547e1e825051d9ca902b2977173 /ssh-fetch.c | |
parent | c6b69bdbc1b0b914aa0d1e59a29305fce82d6f06 (diff) | |
download | git-4211e4d10cd98b1aeed97bdb6cdebb9411956bb5.tar.gz |
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 'ssh-fetch.c')
-rw-r--r-- | ssh-fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-fetch.c b/ssh-fetch.c index aef3aa4a05..6e16568f88 100644 --- a/ssh-fetch.c +++ b/ssh-fetch.c @@ -167,7 +167,7 @@ int main(int argc, char **argv) if (get_version()) return 1; - if (pull(commit_id, write_ref, url)) + if (pull(1, &commit_id, &write_ref, url)) return 1; return 0; |