]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Command/Each.pm
We need to chdir back to the cwd when we are over, so revert root_repo back to cwd_repo
[perl/modules/rgit.git] / lib / App / Rgit / Command / Each.pm
index c313dc815b760250378c0b95a591a3e827418aac..ba42b1269398d020fc48ce72f9b4e8ada43c74e9 100644 (file)
@@ -42,7 +42,7 @@ sub run {
   $status = $_->run($conf, @{$self->args});
   last if $status;
  }
- $conf->root_repo->chdir;
+ $conf->cwd_repo->chdir;
  return $status;
 }