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 <chneukirchen@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Christian Neukirchen committed
Jun 24, 2015 at 16:04 UTC
16272c7db4cf647d86de89ee46b248013109529d
1 file changed
+1
-1
git-cvsimport.perl
+1
-1
@@ -921,7 +921,7 @@ sub commit {
921
# (See check_refname_component in refs.c.)
922
1 while $xtag =~ s/
923
(?: \.\. # Tag cannot contain '..'.
924
- | \@{ # Tag cannot contain '@{'.
924
+ | \@\{ # Tag cannot contain '@{'.
925
| ^ - # Tag cannot begin with '-'.
926
| \.lock $ # Tag cannot end with '.lock'.
927
| ^ \. # Tag cannot begin...