diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-11-08 16:26:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-08 16:26:50 -0800 |
commit | 1a61a9dae874cac9ea40ac63f8fd662f62eee97e (patch) | |
tree | 13dad475c0fe092e84cac33d41c0f9eac1fd59b3 /gitweb/gitweb.perl | |
parent | Merge branch 'dm/pack-objects-update' into maint (diff) | |
parent | gitweb: fix regression when filtering out forks (diff) | |
download | tgif-1a61a9dae874cac9ea40ac63f8fd662f62eee97e.tar.xz |
Merge branch 'jm/maint-gitweb-filter-forks-fix' into maint
* jm/maint-gitweb-filter-forks-fix:
gitweb: fix regression when filtering out forks
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 85d64b244d..a95226e089 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 |