my ($self, $sync, $epoch_max) = @_;
my $pr = $sync->{-opt}->{-progress};
my $regen_max = 0;
- my $head = $self->{ibx}->{ref_head} || 'refs/heads/master';
+ my $head = $self->{ibx}->{ref_head} || 'HEAD';
# reindex stops at the current heads and we later rerun index_sync
# without {reindex}
reindex_checkpoint($self, $sync);
}
}
- $all->check_async_wait;
- $all->cat_async_wait;
+ $all->async_wait_all;
update_last_commit($self, $git, $i, $stk->{latest_cmt});
}