summaryrefslogtreecommitdiff
path: root/lib/App/annex_review_unused.pm
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-10 20:41:06 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-10 20:41:06 -0700
commit9e44c51b844cb598dfdd617d893ab002b5a47816 (patch)
tree387215f2bcc6337b46f187674950757f24f4b281 /lib/App/annex_review_unused.pm
parent8c5c28070f599b437033743786cbf5bdec08ca5d (diff)
downloadp5-Git-Annex-9e44c51b844cb598dfdd617d893ab002b5a47816.tar.gz
add 'annex' attribute
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'lib/App/annex_review_unused.pm')
-rw-r--r--lib/App/annex_review_unused.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/annex_review_unused.pm b/lib/App/annex_review_unused.pm
index 4aac9ce..a1f9476 100644
--- a/lib/App/annex_review_unused.pm
+++ b/lib/App/annex_review_unused.pm
@@ -88,7 +88,7 @@ sub main {
if ($from_arg) {
#<<<
try {
- $annex->git->annex("readpresentkey", $unused_file->{key}, $uuid);
+ $annex->annex->readpresentkey($unused_file->{key}, $uuid);
} catch {
splice @unused_files, $i, 1;
next UNUSED;
@@ -174,7 +174,7 @@ sub main {
_say_spaced_bullet("Will dropunused"
. (exists $dropunused_args{force} ? " with --force:" : ":"));
say "@to_drop\n";
- $annex->git->annex("dropunused", \%dropunused_args, @to_drop)
+ $annex->annex->dropunused(\%dropunused_args, @to_drop)
if prompt_yn("Go ahead with this?");
}