From f00c925bd10c024d5b9f88d8903c7a0d14e9cc6a Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Sun, 23 Jun 2013 14:23:55 +1000 Subject: 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. --- tag-util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-util.h') 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 -- cgit v1.2.3