From: Paul Oliver Date: Fri, 23 May 2008 18:29:22 +0000 (+0100) Subject: Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them. X-Git-Tag: v1.5.6-rc0~16 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/509792b94f71f199838fdeaf0801e215213a6d08 Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them. Signed-off-by: Paul Oliver Signed-off-by: Junio C Hamano --- diff --git a/git-cvsimport.perl b/git-cvsimport.perl index bdac5d51b6..5a0255052c 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -780,6 +780,7 @@ sub commit { $xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY ** $xtag =~ tr/_/\./ if ( $opt_u ); $xtag =~ s/[\/]/$opt_s/g; + $xtag =~ s/\[//g; system('git-tag', '-f', $xtag, $cid) == 0 or die "Cannot create tag $xtag: $!\n";