]> Sergey Matveev's repositories - public-inbox.git/commitdiff
solver_git: more descriptive error for "git apply" failures
authorEric Wong <e@80x24.org>
Wed, 14 Dec 2022 22:23:50 +0000 (22:23 +0000)
committerEric Wong <e@80x24.org>
Thu, 15 Dec 2022 00:16:37 +0000 (00:16 +0000)
This happens quite often on my systems due to scrapers,
unfortunately.

lib/PublicInbox/SolverGit.pm

index 80bb0a178fb540f507a596246574a45416846872..16521ba77b770a801076f55c4c8c27e0c62a8ee0 100644 (file)
@@ -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 {