sub esc {
my $str = shift;
- $str =~ s/ /%20/g;
$str =~ s/\+/%2B/g;
+ $str =~ s/ /\+/g;
return $str;
}
if ($pickaxe_search) {
$/ = "\n";
- open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -S$searchtext";
+ open my $fd, "-|", "$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin -S\'$searchtext\'";
undef %co;
my @files;
while (my $line = <$fd>) {