This is shorthand to enabling --associate with the most
aggressive (and time-consuming) options available, starting from
the Unix epoch and having an unlimited window to join on.
local $self->{ASSOC_PFX} = \@ASSOC_PFX;
local $self->{PENDING} = {};
local $self->{-pi_cfg};
+ if ($self->{-opt}->{'associate-aggressive'}) { # shortcut
+ $self->{-opt}->{'associate-date-range'} //= '19700101000000..';
+ $self->{-opt}->{'associate-window'} //= -1;
+ $self->{-opt}->{associate} //= 1;
+ }
if (grep { $_ } @{$self->{-opt}}{qw(prune associate)}) {
require File::Temp;
$TMPDIR = File::Temp->newdir('cidx-all-git-XXXX', TMPDIR => 1);
my $opt = { fsync => 1, scan => 1 }; # --no-scan is hidden
GetOptions($opt, qw(quiet|q verbose|v+ reindex jobs|j=i fsync|sync! dangerous
indexlevel|index-level|L=s associate associate-window=i
+ associate-aggressive
associate-date-range=s associate-prefixes=s@
batch_size|batch-size=s max_size|max-size=s
include|I=s@ only=s@ all show-roots