From 82eb71f8d43da1be6c6e021dfe487b7593770e57 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 21 Mar 2023 23:07:27 +0000 Subject: cindex: implement --exclude= like -clone This is to ensure we can exclude certain repos which are expensive-to-index (e.g. `**/deps.git', `**/transparency-logs/**'). --- script/public-inbox-cindex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/public-inbox-cindex b/script/public-inbox-cindex index 166c8261..420ef4de 100755 --- a/script/public-inbox-cindex +++ b/script/public-inbox-cindex @@ -26,7 +26,7 @@ EOF 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 batch_size|batch-size=s - project-list=s + project-list=s exclude=s@ d=s update|u scan! prune dry-run|n C=s@ help|h)) or die $help; if ($opt->{help}) { print $help; exit 0 }; -- cgit v1.2.3-24-ge0c7