diff options
Diffstat (limited to 'lib/App/annex_review_unused.pm')
-rw-r--r-- | lib/App/annex_review_unused.pm | 4 |
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?"); } |