From 9ba4f33ee531a379f7d55b6b32b3d9221d7ec04f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 17 Feb 2018 22:38:02 +0000 Subject: [PATCH] git-debrebase: print more why on Unprocessable commits Signed-off-by: Ian Jackson --- git-debrebase | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/git-debrebase b/git-debrebase index b69450ba..3d837272 100755 --- a/git-debrebase +++ b/git-debrebase @@ -598,13 +598,16 @@ sub walk ($;$$) { my $bomb = sub { # usage: return $bomb->(); print $report " Unprocessable" if $report; + print $report " ($cl->{Why})" if $report && defined $cl->{Why}; $prprdelim->(); if ($nogenerate) { return (undef,undef); } die "commit $cur: Cannot cope with this commit (d.". (join ' ', map { sprintf "%#x", $_->{Differs} } - @{ $cl->{Parents} }). ")"; + @{ $cl->{Parents} }). + (defined $cl->{Why} ? "; $cl->{Why}": ''). + ")"; }; my $build; -- 2.30.2