summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--lib/Git/Annex/BatchCommand.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changes b/Changes
index d6ce3c1..82e2e9c 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Revision history for Git::Annex
{{$NEXT}}
+ - Fix logic in an example in Git::Annex::BatchCommand SYNOPSIS.
0.001 2020-02-12 12:33:47-07:00 America/Phoenix
- First public release.
diff --git a/lib/Git/Annex/BatchCommand.pm b/lib/Git/Annex/BatchCommand.pm
index 1629bb1..0351f09 100644
--- a/lib/Git/Annex/BatchCommand.pm
+++ b/lib/Git/Annex/BatchCommand.pm
@@ -24,7 +24,7 @@ package Git::Annex::BatchCommand;
# see git-annex-find(1) -- `git annex find --batch --not --in here`
# prints an empty string for each file which is not present
- say "foo/bar is not present in this repo" if $batch->say("foo/bar");
+ say "foo/bar is not present in this repo" unless $batch->ask("foo/bar");
=head1 DESCRIPTION