git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Paul Oliver <puzza007@gmail.com>
Date
May 23, 2008, 18:29 UTC
Message-ID
<a4cc77ec0805231129t45b2b81cka3365a71505240a2@mail.gmail.com>
Signed-off-by: puzza007 <puzza007@gmail.com>
---
 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
Message 1 of 1 in “Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.”
  1. Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.Paul Oliver, May 23, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.