projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b725481
)
notmuch new: Fix to actually open the database READ_WRITE.
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 21 Nov 2009 23:13:24 +0000
(
00:13
+0100)
committer
Carl Worth
<cworth@cworth.org>
Sat, 21 Nov 2009 23:13:24 +0000
(
00:13
+0100)
Chris claims he must have been distracted when he wrote this.
notmuch-new.c
patch
|
blob
|
history
diff --git
a/notmuch-new.c
b/notmuch-new.c
index bc35b4e8cf32480e1a7d1cf87cb95d7b6e4e3e71..43cc4fb721012679c160b2f568f04714a8da6393 100644
(file)
--- a/
notmuch-new.c
+++ b/
notmuch-new.c
@@
-414,7
+414,7
@@
notmuch_new_command (void *ctx,
add_files_state.total_files = count;
} else {
notmuch = notmuch_database_open (db_path,
- NOTMUCH_DATABASE_MODE_READ_
ONLY
);
+ NOTMUCH_DATABASE_MODE_READ_
WRITE
);
add_files_state.ignore_read_only_directories = TRUE;
add_files_state.total_files = 0;
}