Code

gitweb: fix regression when filtering out forks
authorJulien Muchembled <jm@jmuchemb.eu>
Fri, 21 Oct 2011 19:04:21 +0000 (21:04 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Oct 2011 21:46:38 +0000 (14:46 -0700)
commit53c632faab0be2e8510a678a4b7dfa01dc7f41e1
treebb87fa27d832b263f1237e717115ce69a407af69
parent12b1443c2cf41174311c81667022c6f3149aa542
gitweb: fix regression when filtering out forks

This fixes a condition in filter_forks_from_projects_list that failed if
process directory was different from project root: in such case, the subroutine
was a no-op and forks were not detected.

Signed-off-by: Julien Muchembled <jm@jmuchemb.eu>
Tested-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl