]> git.vpit.fr Git - perl/modules/rgit.git/commitdiff
The root directory can also be a repository
authorVincent Pit <vince@profvince.com>
Mon, 6 Oct 2008 16:39:36 +0000 (18:39 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 6 Oct 2008 16:39:36 +0000 (18:39 +0200)
lib/App/Rgit/Config/Default.pm

index 9203d81bbfdd806885be2e88dd3fb1c4eaf95b6d..8630fb61f759c49df6efe99b27b476ddb5e64c53 100644 (file)
@@ -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};