Skip to content

Commit 6ae1868

Browse files
committed
Merge branch 'jk/cvsimport-quoting'
Typo/Logico fix. * jk/cvsimport-quoting: cvsimport: apply shell-quoting regex globally
2 parents f7bbca1 + 8c87bdf commit 6ae1868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-cvsimport.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ sub is_sha1 {
642642

643643
sub get_headref ($) {
644644
my $name = shift;
645-
$name =~ s/'/'\\''/;
645+
$name =~ s/'/'\\''/g;
646646
my $r = `git rev-parse --verify '$name' 2>/dev/null`;
647647
return undef unless $? == 0;
648648
chomp $r;

0 commit comments

Comments
 (0)