1 Return-Path: <novalazy@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 6E807429E26
\r
6 for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:24:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id UFydAVinQFky for <notmuch@notmuchmail.org>;
\r
17 Sat, 22 Jun 2013 21:24:14 -0700 (PDT)
\r
18 Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com
\r
19 [209.85.220.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 0F21C431FD4
\r
22 for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:24:05 -0700 (PDT)
\r
23 Received: by mail-pa0-f42.google.com with SMTP id rl6so9555387pac.29
\r
24 for <notmuch@notmuchmail.org>; Sat, 22 Jun 2013 21:24:05 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
27 bh=fPbJUWFiSrZWupnXHqBxKPQz/HP1Yw/teHwqY2oUqs0=;
\r
28 b=xhtrdhvolhxG/792yX0FRU9Sx/SxpblyId0Jdms0Lp3s+vCeELAfCKQquIGLK0CInk
\r
29 Eg98x1O4I5BHJAXmkM9A/jlj27rE3kOGF4EAjKbMumsYJBi71iyG8lYEQtBGt0QMQ5Kq
\r
30 IVtALFWTtstrZH+qwtoOLOLkw8Peeg/nDX+E+hken2IlcaLpfK9Ix4Wcuiv0WVmiQ1pi
\r
31 f3V1PE8MnIihXJu/4kO5mD2T3zhgA694bQKp+1b5aguAIn7v3gYJJHjvWgIpYu/MSznU
\r
32 KrP1vjM1sfnOV5BnvWNssbcrGutXuzmQYMO2UhtIoswzL8UR5qv8I/Pqi+YgRHmg4sse
\r
34 X-Received: by 10.68.219.130 with SMTP id po2mr18802382pbc.68.1371961445332;
\r
35 Sat, 22 Jun 2013 21:24:05 -0700 (PDT)
\r
36 Received: from localhost (215.42.233.220.static.exetel.com.au.
\r
38 by mx.google.com with ESMTPSA id ep2sm5603965pbb.27.2013.06.22.21.24.03
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Sat, 22 Jun 2013 21:24:04 -0700 (PDT)
\r
42 From: Peter Wang <novalazy@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH v7 02/12] tag-util: do not reset list in
\r
45 parse_tag_command_line
\r
46 Date: Sun, 23 Jun 2013 14:23:55 +1000
\r
47 Message-Id: <1371961445-15182-3-git-send-email-novalazy@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.12.1
\r
49 In-Reply-To: <1371961445-15182-1-git-send-email-novalazy@gmail.com>
\r
50 References: <1371961445-15182-1-git-send-email-novalazy@gmail.com>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\r
54 List-Id: "Use and development of the notmuch mail system."
\r
55 <notmuch.notmuchmail.org>
\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
57 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
59 List-Post: <mailto:notmuch@notmuchmail.org>
\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
62 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
63 X-List-Received-Date: Sun, 23 Jun 2013 04:24:20 -0000
\r
65 The 'insert' command will be better served if parse_tag_command_line
\r
66 modifies a pre-populated list (of new.tags) instead of clobbering the
\r
67 list outright. The sole existing caller, notmuch_tag_command, is
\r
68 unaffected by this change.
\r
72 2 files changed, 2 insertions(+), 2 deletions(-)
\r
74 diff --git a/tag-util.c b/tag-util.c
\r
75 index 92e08a1..3bde409 100644
\r
78 @@ -165,8 +165,6 @@ parse_tag_command_line (void *ctx, int argc, char **argv,
\r
82 - tag_op_list_reset (tag_ops);
\r
84 for (i = 0; i < argc; i++) {
\r
85 if (strcmp (argv[i], "--") == 0) {
\r
87 diff --git a/tag-util.h b/tag-util.h
\r
88 index 246de85..4628f16 100644
\r
91 @@ -81,6 +81,8 @@ parse_tag_line (void *ctx, char *line,
\r
92 * Output Parameters:
\r
93 * ops contains a list of tag operations
\r
94 * query_str the search terms.
\r
96 + * The ops argument is not cleared.
\r