git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.
@ 2008-05-23 12:00 Paul Oliver
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Oliver @ 2008-05-23 12:00 UTC (permalink / raw)
  To: git

---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.
@ 2008-05-23 18:29 Paul Oliver
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Oliver @ 2008-05-23 18:29 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Miklos Vajna

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-23 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 12:00 [PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them Paul Oliver
  -- strict thread matches above, loose matches on Subject: below --
2008-05-23 18:29 Paul Oliver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).