mirror of
https://github.com/git/git.git
synced 2026-04-11 17:30:08 +02:00
Merge branch 'gp/maint-cvsserver'
* gp/maint-cvsserver: git-cvsserver: allow regex metacharacters in CVSROOT
This commit is contained in:
@@ -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/ );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user