cvsimport: silence regex warning appearing in Perl 5.22.
[gitweb.git] / git-cvsimport.perl
index 73d367cea8f130bc7721803e397df710e7cfff58..8a687772483205c2b440edf5f5f3a1630604eed5 100755 (executable)
@@ -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...