We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31add46 + 5b4efea commit 6d6e2f8Copy full SHA for 6d6e2f8
1 file changed
git-cvsimport.perl
@@ -642,6 +642,7 @@ sub is_sha1 {
642
643
sub get_headref ($) {
644
my $name = shift;
645
+ $name =~ s/'/'\\''/;
646
my $r = `git rev-parse --verify '$name' 2>/dev/null`;
647
return undef unless $? == 0;
648
chomp $r;
0 commit comments