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>
This commit is contained in:

committed by
Junio C Hamano

parent
c6b69bdbc1
commit
4211e4d10c
@ -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;
|
||||
|
Reference in New Issue
Block a user