diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-12 13:10:01 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-12 13:10:01 -0700 |
commit | 89097fa4186ccf59acd9d77ff8734c7838a3eb87 (patch) | |
tree | 3de5d2addb435dba4b39f781531865ebce1571d8 | |
parent | c91464a4cfadc1d0e2c1cf7127e3dcee52df6198 (diff) | |
download | p5-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-- | Changes | 1 | ||||
-rw-r--r-- | lib/Git/Annex/BatchCommand.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |