Merge branch 'jk/cvsimport-quoting'
Typo/Logico fix. * jk/cvsimport-quoting: cvsimport: apply shell-quoting regex globally
This commit is contained in:
@ -642,7 +642,7 @@ sub is_sha1 {
|
|||||||
|
|
||||||
sub get_headref ($) {
|
sub get_headref ($) {
|
||||||
my $name = shift;
|
my $name = shift;
|
||||||
$name =~ s/'/'\\''/;
|
$name =~ s/'/'\\''/g;
|
||||||
my $r = `git rev-parse --verify '$name' 2>/dev/null`;
|
my $r = `git rev-parse --verify '$name' 2>/dev/null`;
|
||||||
return undef unless $? == 0;
|
return undef unless $? == 0;
|
||||||
chomp $r;
|
chomp $r;
|
||||||
|
Reference in New Issue
Block a user