diff options
author | Paul Oliver <puzza007@gmail.com> | 2008-05-23 19:29:22 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-25 13:06:49 -0700 |
commit | 509792b94f71f199838fdeaf0801e215213a6d08 (patch) | |
tree | 3e7433aa264709edf3840a9df77f89f5237d47bd /git-cvsimport.perl | |
parent | b27a23e35d8e532e47661595bda642ef3a7375f1 (diff) | |
download | git-509792b94f71f199838fdeaf0801e215213a6d08.tar.gz git-509792b94f71f199838fdeaf0801e215213a6d08.tar.xz |
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>
Diffstat (limited to 'git-cvsimport.perl')
-rwxr-xr-x | git-cvsimport.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-cvsimport.perl b/git-cvsimport.perl index bdac5d51b..5a0255052 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"; |