X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;ds=sidebyside;f=lib%2FApp%2FRgit%2FConfig%2FDefault.pm;h=147241863f909fcee69964360f45c24b16448e74;hb=1c5bf56c6f80e4cd818c341b34ba3410f34ed514;hp=8630fb61f759c49df6efe99b27b476ddb5e64c53;hpb=17bcb9a2dcb825086561f0c410ae5cbf6f7eb7c7;p=perl%2Fmodules%2Frgit.git diff --git a/lib/App/Rgit/Config/Default.pm b/lib/App/Rgit/Config/Default.pm index 8630fb6..1472418 100644 --- a/lib/App/Rgit/Config/Default.pm +++ b/lib/App/Rgit/Config/Default.pm @@ -15,11 +15,11 @@ App::Rgit::Config::Default - Default App::Rgit configuration class. =head1 VERSION -Version 0.02 +Version 0.06 =cut -our $VERSION = '0.02'; +our $VERSION = '0.06'; =head1 DESCRIPTION @@ -45,7 +45,7 @@ sub repos { wanted => sub { return unless -d $_; my $r = App::Rgit::Repository->new(dir => $File::Find::name); - $repos{$r->repo} = $r if $r + $repos{$r->repo} = $r if $r and not exists $repos{$r->repo}; }, follow => 1 @@ -75,7 +75,7 @@ You can find documentation for this module with the perldoc command. =head1 COPYRIGHT & LICENSE -Copyright 2008 Vincent Pit, all rights reserved. +Copyright 2008-2009 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.