gitweb: Fix error in git_project_index subroutine
authorJakub Narebski <jnareb@gmail.com>
Wed, 3 Jan 2007 15:03:01 +0000 (16:03 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 3 Jan 2007 16:14:46 +0000 (08:14 -0800)
commit956259ee74df5695c55f51e9f93bbc217953a41a
tree3429188765b5d153a7e36b8ba8ae38d6266aaea9
parent825cee7b285d9c733e9aec03cf4362e8029ee1c1
gitweb: Fix error in git_project_index subroutine

Instead of "$projectroot/$pr->{'path'}" to get the path to project
GIT_DIR, it was used "$projectroot/$project" which is valid only
for actions where project parameter is set, and 'project_index' is not
one of them.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl