1 Return-Path: <bremner@tethera.net>
\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 0D3B9431FBF
\r
6 for <notmuch@notmuchmail.org>; Tue, 21 Jan 2014 05:41:49 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 9Na4rY60rgKS for <notmuch@notmuchmail.org>;
\r
16 Tue, 21 Jan 2014 05:41:41 -0800 (PST)
\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 39589431FAF
\r
21 for <notmuch@notmuchmail.org>; Tue, 21 Jan 2014 05:41:41 -0800 (PST)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <bremner@tethera.net>)
\r
24 id 1W5baC-00039E-Ni; Tue, 21 Jan 2014 09:41:36 -0400
\r
25 Received: (nullmailer pid 1531 invoked by uid 1000); Tue, 21 Jan 2014
\r
27 From: david@tethera.net
\r
28 To: notmuch@notmuchmail.org
\r
29 Subject: [PATCH] notmuch dump: default to batch-tag format.
\r
30 Date: Tue, 21 Jan 2014 09:41:28 -0400
\r
31 Message-Id: <1390311688-1491-1-git-send-email-david@tethera.net>
\r
32 X-Mailer: git-send-email 1.8.5.2
\r
33 X-BeenThere: notmuch@notmuchmail.org
\r
34 X-Mailman-Version: 2.1.13
\r
36 List-Id: "Use and development of the notmuch mail system."
\r
37 <notmuch.notmuchmail.org>
\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
39 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
41 List-Post: <mailto:notmuch@notmuchmail.org>
\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
45 X-List-Received-Date: Tue, 21 Jan 2014 13:41:49 -0000
\r
47 From: David Bremner <david@tethera.net>
\r
49 Although we didn't formally deprecate the old format, the new one has
\r
50 been available for a year.
\r
52 NEWS | 10 ++++++++++
\r
53 notmuch-dump.c | 2 +-
\r
54 2 files changed, 11 insertions(+), 1 deletion(-)
\r
56 diff --git a/NEWS b/NEWS
\r
57 index 28788d8..bdb248e 100644
\r
61 +Notmuch 0.18 (2014-xx-xx)
\r
62 +=========================
\r
64 +Command-Line Interface
\r
65 +----------------------
\r
67 +`notmuch dump` now defaults to `batch-tag` format.
\r
69 + The old format is still available with `--format=sup`.
\r
71 Notmuch 0.17 (2013-12-30)
\r
72 =========================
\r
74 diff --git a/notmuch-dump.c b/notmuch-dump.c
\r
75 index f8edda7..158142f 100644
\r
76 --- a/notmuch-dump.c
\r
77 +++ b/notmuch-dump.c
\r
78 @@ -40,7 +40,7 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[])
\r
79 char *output_file_name = NULL;
\r
82 - int output_format = DUMP_FORMAT_SUP;
\r
83 + int output_format = DUMP_FORMAT_BATCH_TAG;
\r
85 notmuch_opt_desc_t options[] = {
\r
86 { NOTMUCH_OPT_KEYWORD, &output_format, "format", 'f',
\r