Skip to content

Commit

Permalink
Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allo…
Browse files Browse the repository at this point in the history
…w them.

Signed-off-by: Paul Oliver <puzza007@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Paul Oliver authored and Junio C Hamano committed May 25, 2008
1 parent b27a23e commit 509792b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cvsimport.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 509792b

Please sign in to comment.