summaryrefslogtreecommitdiff
path: root/lib/App/annex_to_annex.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/annex_to_annex.pm')
-rw-r--r--lib/App/annex_to_annex.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/annex_to_annex.pm b/lib/App/annex_to_annex.pm
index 7336ffc..d68cc4a 100644
--- a/lib/App/annex_to_annex.pm
+++ b/lib/App/annex_to_annex.pm
@@ -88,7 +88,7 @@ sub main {
my $annex = Git::Annex->new($dir);
#<<<
try {
- $annex->git->annex("status");
+ $annex->annex->status;
} catch {
die "$source does not appear to lie within an annex\n";
};
@@ -111,7 +111,7 @@ sub main {
my $base = basename $source;
my @missing
- = $annex->git->annex("find", "--not", "--in", "here", $base);
+ = $annex->annex->find("--not", "--in", "here", $base);
if (@missing) {
say "Following annexed files are not present in this repo:";
say for @missing;