Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'gp/maint-cvsserver'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 28 Jan 2010 08:46:33 +0000
(
00:46
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 28 Jan 2010 08:46:33 +0000
(
00:46
-0800)
* gp/maint-cvsserver:
git-cvsserver: allow regex metacharacters in CVSROOT
git-cvsserver.perl
patch
|
blob
|
history
raw
(from parent 1:
df3dac3
)
diff --git
a/git-cvsserver.perl
b/git-cvsserver.perl
index 28041060c8a36ac2b89ee179501c2ec726f4606b..13751db882dd2c40e2c78503eba0d3f941297644 100755
(executable)
--- a/
git-cvsserver.perl
+++ b/
git-cvsserver.perl
@@
-408,7
+408,7
@@
sub req_Directory
$state->{localdir} = $data;
$state->{repository} = $repository;
$state->{path} = $repository;
- $state->{path} =~ s/^
$state->{CVSROOT}
\///;
+ $state->{path} =~ s/^
\Q$state->{CVSROOT}\E
\///;
$state->{module} = $1 if ($state->{path} =~ s/^(.*?)(\/|$)//);
$state->{path} .= "/" if ( $state->{path} =~ /\S/ );