diff options
author | Eric Wong <e@80x24.org> | 2023-03-28 02:59:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-03-29 04:36:50 +0000 |
commit | 9650088fb8ab70369c8221c8b623a7ea3b69e9a0 (patch) | |
tree | 2eb1df1cc1cc5343316f7f9dfe485312ef6224b5 /script | |
parent | 2a41e811ad89a026cf7824228a053bd623fd7b7f (diff) | |
download | public-inbox-9650088fb8ab70369c8221c8b623a7ea3b69e9a0.tar.gz |
We'll rely more on local-ized `our' globals rather than hashref fields. The former is more resistant to typos and can be checked at compile-time earlier via `perl -c'. The {-internal} field is also renamed to {-cidx_internal} in case to reduce confusion within a large code base.
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-cindex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex index fb906bad..4c9136cf 100755 --- a/script/public-inbox-cindex +++ b/script/public-inbox-cindex @@ -79,7 +79,7 @@ EOM for my $gd (@git_dirs) { my $cd = "$gd/public-inbox-cindex"; my $cidx = PublicInbox::CodeSearchIdx->new($cd, { %$opt }); - $cidx->{-internal} = 1; + $cidx->{-cidx_internal} = 1; @{$cidx->{git_dirs}} = ($gd); $cidx->cidx_run; } |