aboutsummaryrefslogtreecommitdiffhomepage
path: root/tag-util.h
diff options
context:
space:
mode:
authorGravatar Peter Wang <novalazy@gmail.com>2013-06-23 14:23:55 +1000
committerGravatar David Bremner <bremner@debian.org>2013-06-29 14:36:23 -0300
commitf00c925bd10c024d5b9f88d8903c7a0d14e9cc6a (patch)
tree6b9dc4c95395342b869c1df4b0fa692728b0d2d7 /tag-util.h
parente8efa11da90fa47adcbc489638320d61ac98391a (diff)
tag-util: do not reset list in parse_tag_command_line
The 'insert' command will be better served if parse_tag_command_line modifies a pre-populated list (of new.tags) instead of clobbering the list outright. The sole existing caller, notmuch_tag_command, is unaffected by this change.
Diffstat (limited to 'tag-util.h')
-rw-r--r--tag-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-util.h b/tag-util.h
index 246de85c..4628f163 100644
--- a/tag-util.h
+++ b/tag-util.h
@@ -81,6 +81,8 @@ parse_tag_line (void *ctx, char *line,
* Output Parameters:
* ops contains a list of tag operations
* query_str the search terms.
+ *
+ * The ops argument is not cleared.
*/
tag_parse_status_t