about summary refs log tree commit homepage
path: root/public-inbox-learn
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-08-23 18:14:04 +0000
committerEric Wong <e@80x24.org>2015-08-23 18:14:13 +0000
commit9d0d07a7a37c8a0a81646cb3a1e72ec1c937651c (patch)
tree100e68ffe65c74de2a9eb62edea3c66562c21fea /public-inbox-learn
parentb2b04ab22fcf0557a9beff3950b5d29c75bb5546 (diff)
downloadpublic-inbox-9d0d07a7a37c8a0a81646cb3a1e72ec1c937651c.tar.gz
Extend the purpose of core.sharedRepository to apply to
the $GIT_DIR/public-inbox/xapian* directory.
Diffstat (limited to 'public-inbox-learn')
-rwxr-xr-xpublic-inbox-learn4
1 files changed, 1 insertions, 3 deletions
diff --git a/public-inbox-learn b/public-inbox-learn
index c89ffb54..f0bbd421 100755
--- a/public-inbox-learn
+++ b/public-inbox-learn
@@ -79,9 +79,7 @@ foreach my $recipient (keys %dests) {
 
         $err or eval {
                 require PublicInbox::SearchIdx;
-                umask 0022; # XXX FIXME use git config core.sharedRepository
-                my $s = PublicInbox::SearchIdx->new($git_dir, 2);
-                $s->index_sync;
+                PublicInbox::SearchIdx->new($git_dir, 2)->index_sync;
         };
 }