From: Eric Wong Date: Tue, 24 Jan 2023 09:49:38 +0000 (+0000) Subject: solver_git: remove extraneous leading `-' X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=3c997cf32dea4a19d1c16e4c17ef974a3a647576 solver_git: remove extraneous leading `-' It was a harmless negation, I must've pasted a line from a diff and forgotten to chop off the first character :x Fixes: 6f5b238bae5c "solver: early make hints detection more robust" --- diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm index 16521ba7..38fba0ca 100644 --- a/lib/PublicInbox/SolverGit.pm +++ b/lib/PublicInbox/SolverGit.pm @@ -82,7 +82,7 @@ sub solve_existing ($$) { my ($oid_full, $type, $size) = $git->check($oid_b); if ($oid_b eq ($oid_full // '') || (defined($type) && -- (!$self->{have_hints} || $type eq 'blob'))) { + (!$self->{have_hints} || $type eq 'blob'))) { delete $want->{try_gits}; return [ $git, $oid_full, $type, int($size) ]; # done, success }