From 00054c7dde9d7e712a7e0a7d2a82569a73b59589 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 24 Feb 2020 07:32:13 -0700 Subject: annex-review-unused: 'b' should go back one entry not two Signed-off-by: Sean Whitton --- Changes | 1 + lib/App/annex_review_unused.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Changes b/Changes index 82e2e9c..2f5fc85 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Revision history for Git::Annex {{$NEXT}} - Fix logic in an example in Git::Annex::BatchCommand SYNOPSIS. + - annex-review-unused: 'b' should go back one entry not two. 0.001 2020-02-12 12:33:47-07:00 America/Phoenix - First public release. diff --git a/lib/App/annex_review_unused.pm b/lib/App/annex_review_unused.pm index a1f9476..22e7a56 100644 --- a/lib/App/annex_review_unused.pm +++ b/lib/App/annex_review_unused.pm @@ -149,7 +149,6 @@ sub main { } elsif ($response eq "o" and defined $contentlocation) { system "xdg-open", $contentlocation; } elsif ($response eq "b" and $i > 0) { - $i--; $i--; pop @to_drop if @to_drop -- cgit v1.2.3