* [PATCH] cvsimport: silence regex warning appearing in Perl 5.22.
@ 2015-06-24 14:04 Christian Neukirchen
0 siblings, 0 replies; only message in thread
From: Christian Neukirchen @ 2015-06-24 14:04 UTC (permalink / raw)
To: git; +Cc: Christian Neukirchen
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>
---
git-cvsimport.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index 73d367c..8a68777 100755
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
@@ -921,7 +921,7 @@ sub commit {
# (See check_refname_component in refs.c.)
1 while $xtag =~ s/
(?: \.\. # Tag cannot contain '..'.
- | \@{ # Tag cannot contain '@{'.
+ | \@\{ # Tag cannot contain '@{'.
| ^ - # Tag cannot begin with '-'.
| \.lock $ # Tag cannot end with '.lock'.
| ^ \. # Tag cannot begin...
--
2.4.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-24 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24 14:04 [PATCH] cvsimport: silence regex warning appearing in Perl 5.22 Christian Neukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).