From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.1 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 30A0E1F61A for ; Wed, 14 Dec 2022 22:23:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1671056630; bh=1UuCcadgPXwtMTZ7tnuuV5UIftu23lRgxLriERnhh08=; h=From:To:Subject:Date:From; b=jWK1iOBfZUNsXFZp6my6c3pwk5qHJP+jWKI9t102TgAk+Yrys9ZI3PkhG8Tx7g6s0 7nM5e71rVxVT/PocYvKDd4U9LWOwyOmJJMS2bdPX+3Jo0ZteSsMAk0yqtiT0kU5ovT 1N3aDLUwuIitmFiXsfukaAy5RkOqkjdsFhs6dlyc= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] solver_git: more descriptive error for "git apply" failures Date: Wed, 14 Dec 2022 22:23:50 +0000 Message-Id: <20221214222350.438-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This happens quite often on my systems due to scrapers, unfortunately. --- lib/PublicInbox/SolverGit.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm index 80bb0a17..16521ba7 100644 --- a/lib/PublicInbox/SolverGit.pm +++ b/lib/PublicInbox/SolverGit.pm @@ -465,6 +465,7 @@ sub apply_result ($$) { dbg($self, 'trying '.di_url($self, $nxt)); return do_git_apply($self); } else { + $msg .= " (no patches left to try for $di->{oid_b})\n"; ERR($self, $msg); } } else {