Permalink
Browse files

minor bug in include file handing...

gitolite does indeed try to not load itself twice, but I forgot that by
that time the pwd is ~/.gitolite/conf not ~/.gitolite so it always ended
up reading itself twice in case of a wildcard include.
  • Loading branch information...
1 parent 7409635 commit cc9727c42bea266c19fca503f75b5b835382c676 @sitaramc committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/Gitolite/Conf/Explode.pm
View
2 src/lib/Gitolite/Conf/Explode.pm
@@ -27,7 +27,7 @@ sub explode {
my ( $file, $subconf, $out ) = @_;
# seed the 'seen' list if it's empty
- $included{ device_inode("conf/gitolite.conf") }++ unless %included;
+ $included{ device_inode("gitolite.conf") }++ unless %included;
my $fh = _open( "<", $file );
while (<$fh>) {

0 comments on commit cc9727c

Please sign in to comment.