Unlike Xapian and SQLite DBs, data stored in git is both
precious and written sequentially. Thus disabling copy-on-write
doesn't make sense for git objects since the problems with
copy-on-write don't apply here while the benefits of CoW do.
$self->{parallel} = 0 if $shards == 0;
$self->{shards} = $shards if $shards > 0;
}
- $self->idx_init;
- $self->{mm}->skip_artnum($skip_artnum) if defined $skip_artnum;
my $max = $self->{ibx}->max_git_epoch;
$max = $skip_epoch if (defined($skip_epoch) && !defined($max));
$self->{mg}->add_epoch($max // 0);
+ $self->idx_init;
+ $self->{mm}->skip_artnum($skip_artnum) if defined $skip_artnum;
$self->done;
}