diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-04 10:42:42 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-08-04 10:43:29 +0100 |
commit | 5026d3c30a7046299179ca3ba422fb21505cdf4d (patch) | |
tree | 54fff371066f68735685a30e283b2cb545480c19 /git-debrebase | |
parent | 32302c566f46426687ae9dcccec2f16ddeb56e4b (diff) |
git-debrebase: Improve error message formatting from $bomb in walk
The : and ; were messed up.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debrebase')
-rwxr-xr-x | git-debrebase | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-debrebase b/git-debrebase index a2a14ca..eb0acb2 100755 --- a/git-debrebase +++ b/git-debrebase @@ -710,8 +710,8 @@ sub walk ($;$$) { if ($nogenerate) { return (undef,undef); } - fail "found unprocessable commit, cannot cope:". - (defined $cl->{Why} ? "; $cl->{Why}": ''). + fail "found unprocessable commit, cannot cope". + (defined $cl->{Why} ? "; $cl->{Why}:": ':'). " (commit $cur) (d.". (join ' ', map { sprintf "%#x", $_->{Differs} } @{ $cl->{Parents} }). |