diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-27 22:16:26 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 22:16:26 +0300 |
commit | 6ae18684e1ec37c9e0e93e8e9ce98aa1babb46c0 (patch) | |
tree | 8afce0341875b5e5b5a9250cfffbdc7574171e61 | |
parent | f7bbca1cae80657f0ff782e7ccace810e9e723f8 (diff) | |
parent | 8c87bdfb2137c9e9e945df13e2f2e1eb995ddf83 (diff) |
Merge branch 'jk/cvsimport-quoting'
Typo/Logico fix.
* jk/cvsimport-quoting:
cvsimport: apply shell-quoting regex globally
-rwxr-xr-x | git-cvsimport.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsimport.perl b/git-cvsimport.perl index 36929921ea..2d8df83172 100755 --- a/git-cvsimport.perl +++ b/git-cvsimport.perl @@ -642,7 +642,7 @@ sub is_sha1 { sub get_headref ($) { my $name = shift; - $name =~ s/'/'\\''/; + $name =~ s/'/'\\''/g; my $r = `git rev-parse --verify '$name' 2>/dev/null`; return undef unless $? == 0; chomp $r; |