Skip to content

Commit 8c262cd

Browse files
committed
Merge branch 'op/cvsserver-perl-warning' into seen
* op/cvsserver-perl-warning: cvsserver: avoid precedence problem between ! and %s
2 parents 4395a00 + 522c16b commit 8c262cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-cvsserver.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5009,7 +5009,7 @@ sub escapeRefName
50095009
# = "_-xx-" Where "xx" is the hexadecimal representation of the
50105010
# desired ASCII character byte. (for anything else)
50115011

5012-
if(! $refName=~/^[1-9][0-9]*(\.[1-9][0-9]*)*$/)
5012+
if(! ($refName=~/^[1-9][0-9]*(\.[1-9][0-9]*)*$/))
50135013
{
50145014
$refName=~s/_-/_-u--/g;
50155015
$refName=~s/\./_-p-/g;

0 commit comments

Comments
 (0)