From 9d0d07a7a37c8a0a81646cb3a1e72ec1c937651c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 23 Aug 2015 18:14:04 +0000 Subject: search: respect core.sharedRepository in for Xapian DB Extend the purpose of core.sharedRepository to apply to the $GIT_DIR/public-inbox/xapian* directory. --- public-inbox-mda | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'public-inbox-mda') diff --git a/public-inbox-mda b/public-inbox-mda index 630ffcb9..8e98d6eb 100755 --- a/public-inbox-mda +++ b/public-inbox-mda @@ -89,8 +89,6 @@ sub search_index_sync { my ($git_dir) = @_; eval { require PublicInbox::Search; - 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; }; } -- cgit v1.2.3-24-ge0c7