summaryrefslogtreecommitdiff
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
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>
-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