diff options
author | Peter Wang <novalazy@gmail.com> | 2013-06-23 14:23:55 +1000 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-06-29 14:36:23 -0300 |
commit | f00c925bd10c024d5b9f88d8903c7a0d14e9cc6a (patch) | |
tree | 6b9dc4c95395342b869c1df4b0fa692728b0d2d7 /tag-util.c | |
parent | e8efa11da90fa47adcbc489638320d61ac98391a (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.c')
-rw-r--r-- | tag-util.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -165,8 +165,6 @@ parse_tag_command_line (void *ctx, int argc, char **argv, int i; - tag_op_list_reset (tag_ops); - for (i = 0; i < argc; i++) { if (strcmp (argv[i], "--") == 0) { i++; |