Code

git-cvsserver: allow regex metacharacters in CVSROOT
authorGerrit Pape <pape@smarden.org>
Tue, 26 Jan 2010 14:47:16 +0000 (14:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jan 2010 20:54:18 +0000 (12:54 -0800)
commitf9acaeae880feb87ae52e719aab930bf1f3e8413
tree347366f714fb442fd085a1f697305f61d39effdb
parent35eabd1579726d594e84fc8328a5c87693dd065a
git-cvsserver: allow regex metacharacters in CVSROOT

When run in a repository with a path name containing regex metacharacters
(e.g. +), git-cvsserver failed to split the client request into CVSROOT
and module.  Now metacharacters are disabled for the value of CVSROOT in
the perl regex so that directory names containing metacharacters are
handled properly.

Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsserver.perl