X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitweb%2Fgitweb.perl;h=a95226e089fa22d7041e4374382bb2709da10df1;hb=aface4c3904de688ced9cecad4ac07bc3afeec8f;hp=85d64b244dead86132de8a2a980cfbfc27c86494;hpb=9c0c09f791b1bfd2a04aa0e48190d304627293d2;p=git.git diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 85d64b244..a95226e08 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2886,7 +2886,7 @@ sub filter_forks_from_projects_list { $path =~ s/\.git$//; # forks of 'repo.git' are in 'repo/' directory next if ($path =~ m!/$!); # skip non-bare repositories, e.g. 'repo/.git' next unless ($path); # skip '.git' repository: tests, git-instaweb - next unless (-d $path); # containing directory exists + next unless (-d "$projectroot/$path"); # containing directory exists $pr->{'forks'} = []; # there can be 0 or more forks of project # add to trie