Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.
Signed-off-by: Paul Oliver <puzza007@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Paul Oliver committed
May 23, 2008 at 19:29 UTC
509792b94f71f199838fdeaf0801e215213a6d08
1 file changed
+1
git-cvsimport.perl
+1
@@ -780,6 +780,7 @@ sub commit {
780
$xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **
781
$xtag =~ tr/_/\./ if ( $opt_u );
782
$xtag =~ s/[\/]/$opt_s/g;
783
+ $xtag =~ s/\[//g;
784
785
system('git-tag', '-f', $xtag, $cid) == 0
786
or die "Cannot create tag $xtag: $!\n";