From 7596cecaa0b18265515072ad0fd2cf65ad9bf91b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 22 Oct 2017 20:28:54 +0100 Subject: [PATCH] when dieing due to bad commit, print differs --- git-debrebase | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git-debrebase b/git-debrebase index 225f0c5b..dd1ddb0a 100755 --- a/git-debrebase +++ b/git-debrebase @@ -475,7 +475,9 @@ sub walk ($;$$) { if ($nogenerate) { return (undef,undef); } - die "commit $cur: Cannot cope with this commit"; + die "commit $cur: Cannot cope with this commit (d.". + (join ' ', map { sprintf "%#x", $_->{Differs} } + @{ $cl->{Parents} }). ")"; }; my $build; -- 2.30.2