From: Paul Oliver Date: Fri, 23 May 2008 18:29:22 GMT Subject: [PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them. Message-ID: Signed-off-by: puzza007 --- git-cvsimport.perl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/git-cvsimport.perl b/git-cvsimport.perl index bdac5d5..5a02550 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"; -- 1.5.3.6