threads / patch / 13640

patchMake git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.

Subject: [PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.

## tl;dr

One message between May 23, 2008 and May 23, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Paul Oliver· May 23, 2008, 18:29 UTC · lore
Signed-off-by: puzza007 <puzza007@gmail.com>
---
 git-cvsimport.perl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to git-cvsimport.perl +1 −0
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

← back to recent threads