]> git.cworth.org Git - notmuch/commit
lib: index attachments with mime types matching index.as_text
authorDavid Bremner <david@tethera.net>
Fri, 6 Jan 2023 00:02:06 +0000 (20:02 -0400)
committerDavid Bremner <david@tethera.net>
Sun, 2 Apr 2023 22:24:43 +0000 (19:24 -0300)
commita554690d6af0ac8cb55166a20efd0f449abde389
treeb852e9fe4b19ad6dbf3d49b731d82253151b8c5a
parent3f5809bf28becbddfed9ff33d6f1242346904c23
lib: index attachments with mime types matching index.as_text

Instead of skipping indexing all attachments, we check of a (user
configured) mime type that is indexable as text.
doc/man1/notmuch-config.rst
lib/database.cc
lib/index.cc
lib/notmuch-private.h
test/T050-new.sh
test/T760-as-text.sh [new file with mode: 0755]
test/corpora/indexing/fake-pdf:2,S [new file with mode: 0644]