]> rtime.felk.cvut.cz Git - notmuch.git/commitdiff
cli: add global option "--uuid"
authorDavid Bremner <david@tethera.net>
Sun, 5 Apr 2015 22:39:55 +0000 (07:39 +0900)
committerDavid Bremner <david@tethera.net>
Fri, 14 Aug 2015 16:23:49 +0000 (18:23 +0200)
The function notmuch_exit_if_unmatched_db_uuid is split from
notmuch_process_shared_options because it needs an open notmuch
database.

There are two exceptional cases in uuid handling.

1) notmuch config and notmuch setup don't currently open the database,
   so it doesn't make sense to check the UUID.

2) notmuch compact opens the database inside the library, so we either
   need to open the database just to check uuid, or change the API.


No differences found