[PATCH v2 0/6] notmuch cli config changes

Jani Nikula jani at nikula.org
Sun Mar 3 13:55:04 PST 2013


This is v2 of id:cover.1359495450.git.jani at nikula.org, being mostly just
rebase and commit message amendments, and a slight reordering of a few
patches. The only functional change is to allow notmuch help to be run
without a config file which was broken in v1.

BR,
Jani.


Jani Nikula (6):
  cli: abstract subcommand finding into a new function
  cli: plug main notmuch command into subcommand machinery
  cli: config: keep track of whether the config is newly created
  cli: config: make notmuch_config_open() "is new" parameter input only
  cli: move config open/close to main() from subcommands
  cli: add top level --config=FILE option

 notmuch-client.h     |   35 ++++++------
 notmuch-config.c     |   73 +++++++++----------------
 notmuch-count.c      |   11 ++--
 notmuch-dump.c       |    7 +--
 notmuch-new.c        |   17 +++---
 notmuch-reply.c      |   15 ++----
 notmuch-restore.c    |   11 ++--
 notmuch-search.c     |   15 ++----
 notmuch-setup.c      |   22 ++++----
 notmuch-show.c       |   15 ++----
 notmuch-tag.c        |   15 ++----
 notmuch.c            |  144 +++++++++++++++++++++++++++-----------------------
 test/random-corpus.c |    2 +-
 13 files changed, 162 insertions(+), 220 deletions(-)

-- 
1.7.10.4



More information about the notmuch mailing list