OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27a23e
)
Make git-cvsimport remove ['s from tags, as bad_ref_char doesn't allow them.
author
Paul Oliver
<puzza007@gmail.com>
Fri, 23 May 2008 18:29:22 +0000
(19:29 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 25 May 2008 20:06:49 +0000
(13:06 -0700)
Signed-off-by: Paul Oliver <puzza007@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl
patch
|
blob
|
history
diff --git
a/git-cvsimport.perl
b/git-cvsimport.perl
index
bdac5d5
..
5a02550
100755
(executable)
--- 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";