summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f45e867)
raw | patch | inline | side by side (parent: f45e867)
author | Gerrit Pape <pape@smarden.org> | |
Sat, 3 Nov 2007 11:55:02 +0000 (11:55 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 4 Nov 2007 04:31:22 +0000 (21:31 -0700) |
The documentation states for the -u option that underscores in tag and
branch names are converted to dots, but this was actually implemented
for the tag names only.
Kurt Roeckx reported this through
http://bugs.debian.org/446495
Signed-off-by: Gerrit Pape <pape@smarden.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch names are converted to dots, but this was actually implemented
for the tag names only.
Kurt Roeckx reported this through
http://bugs.debian.org/446495
Signed-off-by: Gerrit Pape <pape@smarden.org>
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 2954fb846e3372a648124d92b7c1a1ccbd44306f..e4bc2b54f68930df217751975e32b4224f8d765c 100755 (executable)
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
$state = 4;
} elsif ($state == 4 and s/^Branch:\s+//) {
s/\s+$//;
+ tr/_/\./ if ( $opt_u );
s/[\/]/$opt_s/g;
$branch = $_;
$state = 5;