{"thread":{"id":"13640","subject":"[PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.","startedAt":"2008-05-23T18:29:22Z","lastAt":"2008-05-23T18:29:22Z","messageCount":1,"participants":["Paul Oliver"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"77567","messageId":"a4cc77ec0805231129t45b2b81cka3365a71505240a2@mail.gmail.com","threadId":"13640","inReplyTo":null,"subject":"[PATCH] Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.","fromName":"Paul Oliver","fromEmail":"puzza007@gmail.com","sentAt":"2008-05-23T18:29:22Z","receivedAt":"2008-05-23T18:29:22Z","isPatch":true,"sender":{"key":"puzza007@gmail.com","avatar":"https://gravatar.com/avatar/87319c9d50af6e06c3c5cdc49feac16874ab75c6a975811f698c98b2f4615d44?d=mp&s=160"},"body":"Signed-off-by: puzza007 <puzza007@gmail.com>\n---\n git-cvsimport.perl |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/git-cvsimport.perl b/git-cvsimport.perl\nindex bdac5d5..5a02550 100755\n--- a/git-cvsimport.perl\n+++ b/git-cvsimport.perl\n@@ -780,6 +780,7 @@ sub commit {\n \t\t$xtag =~ s/\\s+\\*\\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **\n \t\t$xtag =~ tr/_/\\./ if ( $opt_u );\n \t\t$xtag =~ s/[\\/]/$opt_s/g;\n+\t\t$xtag =~ s/\\[//g;\n\n \t\tsystem('git-tag', '-f', $xtag, $cid) == 0\n \t\t\tor die \"Cannot create tag $xtag: $!\\n\";\n-- \n1.5.3.6\n"}]}