[PATCH] WIP/git: change internal directory layout

2022-06-18 Thread David Bremner
Add 4 layers of hashed directories in order to prevent large numbers of subdirectories in any one directory. Currently there is no migration strategy for old style notmuch-git / nmbug repositories. --- notmuch-git.py | 17 - test/T850-git.sh | 48

RFC: directory layout for notmuch git

2022-06-18 Thread David Bremner
It turns out that if you have more than about 150k messages _and_ your /tmp is on ext4, then the merge operation for notmuch-git can fail (either hash collisions in the directory indexing, or running out of inodes). There are few possible solutions. The simplest is just to make /tmp tmpfs. Another

Re: [PATCH v2] CLI: set NOTMUCH_CONFIG in hooks.

2022-06-18 Thread David Bremner
David Bremner writes: > This addresses a bug report / feature request of Uwe Kleine-König. The > assumption is that we always load a config file in the CLI (i.e. we > never pass "" as the config file argument to > notmuch_database_open_with_config). series applied to master.

Re: notmuch-git v3

2022-06-18 Thread David Bremner
David Bremner writes: > This series is against branch "next", which is currently ahead of > master by the following 7 commits Slightly updated version of this series applied to master. Interdiff follows. diff --git a/Makefile.local b/Makefile.local index 0fadfb26..7699c208 100644 --- a/Makefile