notmuch setup: Fix to add maildir group (with comment) to existing file
authorCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 12:28:01 +0000 (04:28 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Nov 2010 12:28:01 +0000 (04:28 -0800)
commit89954b453c7b97a5d173bb87f3f2bbc0510425c2
treeef3d9dcdfeaab284b27dc6fab3f14949faeddda4
parentf6ec7ca78f867c2ae27d0dba154a2395ccf15f52
notmuch setup: Fix to add maildir group (with comment) to existing file

The intent of "notmuch setup" is that it adds new, documented sections
to configuration files that were created before such sections were
defined. But to make this work, we have to explicitly set an option
in the maildir group if it didn't exist previously.
notmuch-config.c