X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FApp%2FRgit.pm;h=f877d7882580e24c9624393b7c8ddd9c4b9bdddc;hb=refs%2Ftags%2Fv0.03;hp=3d244a1bff509f805f1efd91d30c7264c368080f;hpb=f5feb13a168183b64735058599b7fbc7c668fc43;p=perl%2Fmodules%2Frgit.git diff --git a/lib/App/Rgit.pm b/lib/App/Rgit.pm index 3d244a1..f877d78 100644 --- a/lib/App/Rgit.pm +++ b/lib/App/Rgit.pm @@ -15,11 +15,11 @@ App::Rgit - Backend that supports the rgit utility. =head1 VERSION -Version 0.01 +Version 0.03 =cut -our $VERSION = '0.01'; +our $VERSION = '0.03'; =head1 DESCRIPTION @@ -42,13 +42,14 @@ sub new { git => $args{git}, ); return unless defined $config; + my $command = App::Rgit::Command->new( + cmd => $args{cmd}, + args => $args{args}, + ); + return unless defined $command; $class->SUPER::new( config => $config, - command => App::Rgit::Command->new( - cmd => $args{cmd}, - args => $args{args}, - repos => $config->repos, - ) + command => $command, ); }