From 75634a57a149b9d046b05dd0d38f2747d58cd6f8 Mon Sep 17 00:00:00 2001 From: "Andreas J. Koenig" Date: Thu, 9 Apr 2009 05:45:40 +0200 Subject: [PATCH] add the missing option contains to recent_events --- lib/File/Rsync/Mirror/Recentfile.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/File/Rsync/Mirror/Recentfile.pm b/lib/File/Rsync/Mirror/Recentfile.pm index 74b4c84..1847f7f 100644 --- a/lib/File/Rsync/Mirror/Recentfile.pm +++ b/lib/File/Rsync/Mirror/Recentfile.pm @@ -1427,10 +1427,11 @@ sub recent_events { $rfile_or_tempfile, ); } - return $re unless grep {defined $options{$_}} qw(after before max); + return $re unless grep {defined $options{$_}} qw(after before contains max); $self->_recent_events_handle_options ($re, \%options); } +# File::Rsync::Mirror::Recentfile::_recent_events_handle_options sub _recent_events_handle_options { my($self, $re, $options) = @_; my $last_item = $#$re; -- 2.11.4.GIT