summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-08 00:45:58 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-08 00:45:58 -0700
commit3bc2f7c92ce34998fd6955be4969e7f6fc41b1e8 (patch)
tree476e83957671ac0af102185cb4acd617c9e8e109
parent11f21d4f7a3bbd8eca4adb5baf4b81ea3e2136cb (diff)
downloadp5-Git-Annex-3bc2f7c92ce34998fd6955be4969e7f6fc41b1e8.tar.gz
annex-to-annex-dropunused takes no arguments, so no arrayref either
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--lib/App/annex_to_annex_dropunused.pm3
1 files changed, 0 insertions, 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;