From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A2AA21FA34 for ; Tue, 24 Jan 2023 09:50:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1674553805; bh=TDweiV3CcdoePmMqaKm/BjsrWy0EoeRxwZ+AgCkBdFs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jq7Yl2nB/XC2IFeO5nq71erfKTW+zusoxQpqL+vATKZ5ks4K3nWD83y2RVk5Lk0hM daeXETjGIlgb6+QF7yjAGdCY78t7c9vABoZBWBAxQeEFA47OrVeBPHvV9EZGgQ8hBy xIxikJ3I4IHQ3MP3/ryfARTM0LK+K0xlA9Y0xzvU= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 09/11] solver_git: remove extraneous leading `-' Date: Tue, 24 Jan 2023 09:49:38 +0000 Message-Id: <20230124094940.572017-10-e@80x24.org> In-Reply-To: <20230124094940.572017-1-e@80x24.org> References: <20230124094940.572017-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }