Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0D3B9431FBF for ; Tue, 21 Jan 2014 05:41:49 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Na4rY60rgKS for ; Tue, 21 Jan 2014 05:41:41 -0800 (PST) Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 39589431FAF for ; Tue, 21 Jan 2014 05:41:41 -0800 (PST) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1W5baC-00039E-Ni; Tue, 21 Jan 2014 09:41:36 -0400 Received: (nullmailer pid 1531 invoked by uid 1000); Tue, 21 Jan 2014 13:41:32 -0000 From: david@tethera.net To: notmuch@notmuchmail.org Subject: [PATCH] notmuch dump: default to batch-tag format. Date: Tue, 21 Jan 2014 09:41:28 -0400 Message-Id: <1390311688-1491-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 1.8.5.2 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 13:41:49 -0000 From: David Bremner Although we didn't formally deprecate the old format, the new one has been available for a year. --- NEWS | 10 ++++++++++ notmuch-dump.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 28788d8..bdb248e 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,13 @@ +Notmuch 0.18 (2014-xx-xx) +========================= + +Command-Line Interface +---------------------- + +`notmuch dump` now defaults to `batch-tag` format. + + The old format is still available with `--format=sup`. + Notmuch 0.17 (2013-12-30) ========================= diff --git a/notmuch-dump.c b/notmuch-dump.c index f8edda7..158142f 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -40,7 +40,7 @@ notmuch_dump_command (notmuch_config_t *config, int argc, char *argv[]) char *output_file_name = NULL; int opt_index; - int output_format = DUMP_FORMAT_SUP; + int output_format = DUMP_FORMAT_BATCH_TAG; notmuch_opt_desc_t options[] = { { NOTMUCH_OPT_KEYWORD, &output_format, "format", 'f', -- 1.8.5.2