summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-12 13:10:01 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-12 13:10:01 -0700
commit89097fa4186ccf59acd9d77ff8734c7838a3eb87 (patch)
tree3de5d2addb435dba4b39f781531865ebce1571d8 /lib
parentc91464a4cfadc1d0e2c1cf7127e3dcee52df6198 (diff)
downloadp5-Git-Annex-89097fa4186ccf59acd9d77ff8734c7838a3eb87.tar.gz
Fix logic in an example in Git::Annex::BatchCommand SYNOPSIS
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'lib')
-rw-r--r--lib/Git/Annex/BatchCommand.pm2
1 files changed, 1 insertions, 1 deletions
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