X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=blobdiff_plain;f=lib%2FApp%2FRgit%2FCommand%2FEach.pm;h=2825ef67eed03bb6956cde4d6bd9e71f76adebc4;hp=155e9744ac37ffa1417b22537f3e294072c1f44c;hb=6106b02a51da37eadcc29155ae4d51c07fff61ce;hpb=2d737d5df0b318de7cdc2d4c7c225d76f4890038 diff --git a/lib/App/Rgit/Command/Each.pm b/lib/App/Rgit/Command/Each.pm index 155e974..2825ef6 100644 --- a/lib/App/Rgit/Command/Each.pm +++ b/lib/App/Rgit/Command/Each.pm @@ -35,10 +35,11 @@ It implements : sub run { my $self = shift; + my $conf = shift; my $status = 0; - for (@{$self->repos}) { + for (@{$conf->repos}) { $_->chdir or next; - $status = $_->run($_[0], @{$self->args}); + $status = $_->run($conf, @{$self->args}); last if $status; } $self->cwd_as_repo->chdir;