diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-31 07:58:15 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-31 07:59:51 +0100 |
commit | a2adcd961613b1570dea721391e9f5c9665ba642 (patch) | |
tree | 7d2d0236c6bc42394b307710c72a49bbd1b19eec /git-debrebase | |
parent | 4f753d1e7e9916352bf2f8670f56c1fa20791915 (diff) |
git-debrebase: keycommits: Pass correct argument to fail
We got the array index wrong and would print HASH(0x55be4dba1f88) or
whatever.
Closes:#905003.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debrebase')
-rwxr-xr-x | git-debrebase | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-debrebase b/git-debrebase index 0c351a4..8385ae4 100755 --- a/git-debrebase +++ b/git-debrebase @@ -573,7 +573,7 @@ sub keycommits ($;$$$$) { my ($anchor, $breakwater); my $clogonly; my $cl; - $fatal //= sub { fail $_[2]; }; + $fatal //= sub { fail $_[1]; }; my $x = sub { my ($cb, $tagsfx, $mainwhy, $xwhy) = @_; my $why = $mainwhy.$xwhy; |