gitweb: Remove extra "/" in path names for git_get_project_list
commit6768d6b8477db41a1cfdbd1d81ac8c5131c58e1d
authorAneesh Kumar K.V <aneesh.kumar@gmail.com>
Fri, 3 Nov 2006 05:11:45 +0000 (3 10:41 +0530)
committerJunio C Hamano <junkio@cox.net>
Sat, 4 Nov 2006 09:51:35 +0000 (4 01:51 -0800)
tree5b12d8d5ddf11abe42b8112c98781493156096f9
parent2379d61fa6355bc7a8cc8b5dce87a7d4a9505c76
gitweb: Remove extra "/" in path names for git_get_project_list

Without this change we get a wrong $pfxlen value and the check_export_ok()
checks with with a wrong directory name. Without this patch the below
$projects_list fails with gitweb

$projects_list = "/tmp/a/b/";

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl