]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Update documentation of notmuch_database_add_message.
authorCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:03:58 +0000 (10:03 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 6 Jan 2010 18:32:06 +0000 (10:32 -0800)
Previously, adding a filename with the same message ID as an existing
message would do nothing. But we recently fixed this to instead add
the new filename to the existing message document. So update the
documentation to match now.

lib/notmuch.h

index d9fe152a0529206d2a780c06d03fc3091968a9cf..52078e812a712101b355f012674f5acb5c129f98 100644 (file)
@@ -220,8 +220,8 @@ notmuch_database_get_directory (notmuch_database_t *database,
  * NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
  *
  * NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
- *     ID as another message already in the database. Nothing added
- *     to the database.
+ *     ID as another message already in the database. The new filename
+ *     was successfully added to the message in the database.
  *
  * NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
  *     file, (such as permission denied, or file not found,