]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-cvsimport.perl
GIT 1.1.1
[thirdparty/git.git] / git-cvsimport.perl
index efe193439bda26d72be3f94b9dd164013967b14f..8619e7d18382ae41f87b5959b9233718ed99def6 100755 (executable)
@@ -502,7 +502,7 @@ unless($pid) {
        if ($opt_P) {
            exec("cat", $opt_P);
        } else {
-           exec("cvsps",@opt,"-u","-A",'--root',$opt_d,$cvs_tree);
+           exec("cvsps","--norc",@opt,"-u","-A",'--root',$opt_d,$cvs_tree);
            die "Could not start cvsps: $!\n";
        }
 }
@@ -649,6 +649,7 @@ my $commit = sub {
                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".