Imported Upstream version 2.13.0
[platform/upstream/git.git] / git-cvsimport.perl
index 3692992..1e4e65a 100755 (executable)
@@ -642,7 +642,6 @@ sub is_sha1 {
 
 sub get_headref ($) {
        my $name = shift;
-       $name =~ s/'/'\\''/;
        my $r = `git rev-parse --verify '$name' 2>/dev/null`;
        return undef unless $? == 0;
        chomp $r;