Skip to content

Commit 16272c7

Browse files
leahneukirchengitster
authored andcommitted
cvsimport: silence regex warning appearing in Perl 5.22.
Since Perl 5.22, "A literal '{' should now be escaped in a pattern". Silence the recently added warning by using \{ instead. Signed-off-by: Christian Neukirchen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 282616c commit 16272c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-cvsimport.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ sub commit {
921921
# (See check_refname_component in refs.c.)
922922
1 while $xtag =~ s/
923923
(?: \.\. # Tag cannot contain '..'.
924-
| \@{ # Tag cannot contain '@{'.
924+
| \@\{ # Tag cannot contain '@{'.
925925
| ^ - # Tag cannot begin with '-'.
926926
| \.lock $ # Tag cannot end with '.lock'.
927927
| ^ \. # Tag cannot begin...

0 commit comments

Comments
 (0)