X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/6850f664696a5401ce056ebd2f3fe67327a8de05f1452306ba9e126446449f96..add99f03690b38bbc54ed03d13c18bb3d2396bc3a5ecf0dcb642ebe6ff909dcd:/gitweb.perl?ds=sidebyside diff --git a/gitweb.perl b/gitweb.perl index 944898b..09a9951 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2889,7 +2889,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