]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Command/Once.pm
Move the fake root repository from the Command to the Config object
[perl/modules/rgit.git] / lib / App / Rgit / Command / Once.pm
index f602ef154c76899aeaa664acf15880132803b220..24530a668dd91fbb614267ce9a802ee3d3df75d6 100644 (file)
@@ -11,11 +11,11 @@ App::Rgit::Command::Once - Class for commands to execute only once.
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 DESCRIPTION
 
@@ -35,7 +35,7 @@ It implements :
 
 sub run {
  my ($self, $conf) = @_;
- $self->cwd_as_repo->run($conf, @{$self->args});
+ $conf->root_repo->run($conf, @{$self->args});
 }
 
 =head1 SEE ALSO