]> Sergey Matveev's repositories - public-inbox.git/commitdiff
solver_git: remove extraneous leading `-'
authorEric Wong <e@80x24.org>
Tue, 24 Jan 2023 09:49:38 +0000 (09:49 +0000)
committerEric Wong <e@80x24.org>
Tue, 24 Jan 2023 10:07:55 +0000 (10:07 +0000)
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"
lib/PublicInbox/SolverGit.pm

index 16521ba77b770a801076f55c4c8c27e0c62a8ee0..38fba0ca79340eb655c12a319ab28d54621644fa 100644 (file)
@@ -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
        }