package PublicInbox::SolverGit;
use strict;
use warnings;
-use File::Temp qw();
+use File::Temp 0.19 ();
use Fcntl qw(SEEK_SET);
use PublicInbox::Git qw(git_unquote git_quote);
use PublicInbox::MsgIter qw(msg_iter msg_part_text);
# we need --ignore-whitespace because some patches are CRLF
my @cmd = (qw(git -C), $dn, qw(apply --cached --ignore-whitespace
- --whitespace=warn --verbose));
+ --unidiff-zero --whitespace=warn --verbose));
my $len = length(join(' ', @cmd));
my $total = $self->{tot};
my $di; # keep track of the last one for "git ls-files"