summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 576cfc8)
raw | patch | inline | side by side (parent: 576cfc8)
author | Joe English <jenglish@flightlab.com> | |
Fri, 6 Jan 2006 20:52:27 +0000 (12:52 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Jan 2006 22:27:47 +0000 (14:27 -0800) |
In 'git cvsimport' changes "/" to "-" (or $opt_s) in branch names,
but not in tag names, which is inconsistent.
Signed-off-by: Junio C Hamano <junkio@cox.net>
but not in tag names, which is inconsistent.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl | patch | blob | history |
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index 08a890c2bb4292ddb4c7705da4ddc5a21bd1219a..8619e7d18382ae41f87b5959b9233718ed99def6 100755 (executable)
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
my($xtag) = $tag;
$xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **
$xtag =~ tr/_/\./ if ( $opt_u );
+ $xtag =~ s/[\/]/$opt_s/g;
my $pid = open2($in, $out, 'git-mktag');
print $out "object $cid\n".