-croak "Couldn't find any valid git executable" unless defined $git;
-
my $root = $ENV{GIT_DIR};
$root = cwd unless defined $root;
my $ar = App::Rgit->new(
my $root = $ENV{GIT_DIR};
$root = cwd unless defined $root;
my $ar = App::Rgit->new(
- git => $git,
+ git => undef, # Autodiscovery
root => $root,
cmd => $cmd,
args => \@ARGV,
root => $root,
cmd => $cmd,
args => \@ARGV,
@@ -201,7+188,8 @@ You can contact me by mail or on C<irc.perl.org> (vincent).
=head1 BUGS
=head1 BUGS
-Please report any bugs or feature requests to C<bug-rgit at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
+Please report any bugs or feature requests to C<bug-rgit at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=rgit>.
+I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.