From 3bc2f7c92ce34998fd6955be4969e7f6fc41b1e8 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 8 Feb 2020 00:45:58 -0700 Subject: annex-to-annex-dropunused takes no arguments, so no arrayref either Signed-off-by: Sean Whitton --- lib/App/annex_to_annex_dropunused.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/App/annex_to_annex_dropunused.pm b/lib/App/annex_to_annex_dropunused.pm index 23c8851..89b16b5 100644 --- a/lib/App/annex_to_annex_dropunused.pm +++ b/lib/App/annex_to_annex_dropunused.pm @@ -47,9 +47,6 @@ documentation for that command. =cut sub main { - shift if $_[0] and ref $_[0] eq ""; # in case main called as a class method - local @ARGV = @{ $_[0] } if $_[0] and ref $_[0] ne ""; - my $annex = Git::Annex->new; my @to_drop; -- cgit v1.2.3