Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit cc9727c42bea266c19fca503f75b5b835382c676 1 parent 7409635
@sitaramc authored
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>) {
Please sign in to comment.
Something went wrong with that request. Please try again.