From: Vincent Pit Date: Mon, 6 Oct 2008 16:39:36 +0000 (+0200) Subject: The root directory can also be a repository X-Git-Tag: v0.03~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=17bcb9a2dcb825086561f0c410ae5cbf6f7eb7c7;p=perl%2Fmodules%2Frgit.git The root directory can also be a repository --- diff --git a/lib/App/Rgit/Config/Default.pm b/lib/App/Rgit/Config/Default.pm index 9203d81..8630fb6 100644 --- a/lib/App/Rgit/Config/Default.pm +++ b/lib/App/Rgit/Config/Default.pm @@ -44,7 +44,6 @@ sub repos { find { wanted => sub { return unless -d $_; - return if $_ eq '.' or $_ eq '..'; my $r = App::Rgit::Repository->new(dir => $File::Find::name); $repos{$r->repo} = $r if $r and not exists $repos{$r->repo};