Eric Wong <e...@80x24.org> wrote:
> +++ b/lib/PublicInbox/CodeSearch.pm
> @@ -242,15 +247,21 @@ sub paths2roots {
>       \%ret;
>  }
>  
> +sub load_ct { # retry_reopen cb
> +     my ($self, $git_dir) = @_;
> +     my @ids = docids_of_git_dir $self, $git_dir or return;
> +     for (@ids) {
> +             my $doc = $self->get_doc($_) // next;
> +             return int_val($doc, CT);
> +     }
> +}

Ugh, this should've been introduced in 15/15 but I decided to
reorder the series a bit while barely awake :x

Reply via email to