]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Repository.pm
Make sure the POD headings are linkable
[perl/modules/rgit.git] / lib / App / Rgit / Repository.pm
index fbf3f8619f0ff5ec7a1dcea3d34eaf07f5fcc1c9..f1dc149a628e2d635260631a82a9ef25a175c526 100644 (file)
@@ -42,7 +42,12 @@ This is an internal class to L<rgit>.
 
 =head1 METHODS
 
-=head2 C<< new dir => $dir [, fake => 1 ] >>
+=head2 C<new>
+
+    my $arr = App::Rgit::Repository->new(
+     dir  => $dir,
+     fake => $bool,
+    );
 
 Creates a new repository starting from C<$dir>.
 If the C<fake> option is passed, C<$dir> isn't checked to be a valid C<git> repository.
@@ -116,7 +121,9 @@ sub chdir {
  return 1;
 }
 
-=head2 C<run $conf, @args>
+=head2 C<run>
+
+    my $code = $arr->run($conf, @args);
 
 Runs C<git @args> on the repository for the L<App::Rgit::Config> configuration C<$conf>.
 When the repository isn't fake, the format substitutions applies to C<@args> elements.