diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-18 09:13:14 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-04-18 09:14:18 +0000 |
commit | f86a714ac141e257b9bd50be81065e670cfb718b (patch) | |
tree | 17a8c85571a8bf6837999fb8a888ff769f0488c0 /lib/PublicInbox/Inbox.pm | |
parent | 017fed7bc4d33ac474a19356994be5bd0bfe68ba (diff) | |
download | public-inbox-f86a714ac141e257b9bd50be81065e670cfb718b.tar.gz |
Searching across different inboxes is expensive without SQLite (or Xapian) installed, so avoid doing expensive tree lookups in git. Since SQLite is required for Xapian support anyways, we won't need to check Xapian, either. Sites without SQLite installed will simply 404 if somebody requests a message which isn't in the current inbox.
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r-- | lib/PublicInbox/Inbox.pm | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index f71493a0..706089ca 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -290,11 +290,6 @@ sub smsg_mime { } } -sub path_check { - my ($self, $path) = @_; - git($self)->check('HEAD:'.$path); -} - sub mid2num($$) { my ($self, $mid) = @_; my $mm = mm($self) or return; |