This patchset separates and makes configurable the database directory from the mail store. In the code, I have elected to call the former the 'notmuch_path' as, of the various of names in the source code ('path', 'db_path', etc.), that was the only one that consistently refers to the .notmuch directory.
If notmuch_path is not configured, the usual location of $MAILSTORE/.notmuch is used. The first of the four is an irrelevant little documentation fix that I didn't think was worth making a new thread for. David Benjamin (4): lib/database.cc: Fix function name in comment Pass separate notmuch_path when opening database Configure the database separately from mail store Prompt for database location in notmuch setup lib/database-private.h | 1 + lib/database.cc | 30 ++++++++++++------------ lib/notmuch.h | 32 ++++++++++++++++--------- notmuch-client.h | 11 +++++++++ notmuch-config.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++ notmuch-count.c | 4 +- notmuch-dump.c | 4 +- notmuch-new.c | 13 ++++------ notmuch-reply.c | 4 +- notmuch-restore.c | 4 +- notmuch-search-tags.c | 4 +- notmuch-search.c | 4 +- notmuch-setup.c | 9 +++++++ notmuch-show.c | 4 +- notmuch-tag.c | 4 +- 15 files changed, 136 insertions(+), 51 deletions(-) _______________________________________________ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch