From 89097fa4186ccf59acd9d77ff8734c7838a3eb87 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 12 Feb 2020 13:10:01 -0700 Subject: Fix logic in an example in Git::Annex::BatchCommand SYNOPSIS Signed-off-by: Sean Whitton --- Changes | 1 + lib/Git/Annex/BatchCommand.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3