Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / dd / 948ff09b16cb7866a0fda89a7a32a0f9e35b71
1 Return-Path: <five9a2@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 5B942431FC0\r
6         for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 10:01:58 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id NcXBBHBU+14k for <notmuch@notmuchmail.org>;\r
11         Wed, 25 Nov 2009 10:01:57 -0800 (PST)\r
12 Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com\r
13         [209.85.218.224])\r
14         by olra.theworths.org (Postfix) with ESMTP id 37472431FC4\r
15         for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 10:01:56 -0800 (PST)\r
16 Received: by mail-bw0-f224.google.com with SMTP id 24so6126486bwz.30\r
17         for <notmuch@notmuchmail.org>; Wed, 25 Nov 2009 10:01:56 -0800 (PST)\r
18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
19         h=domainkey-signature:received:received:sender:from:to:cc:subject\r
20         :date:message-id:x-mailer:in-reply-to:references;\r
21         bh=8dt+JL8B83+v+vUTfZw8UFy5nRl7ffwN64n56Wlollc=;\r
22         b=waz23rIak0YGZpz9vJgQQm7KSmxYhyB3h4W5gnJOrbJ7E6Tl4zV1vlKfsuI22jikxs\r
23         jk17x3wfPrslnBxS06vKzwIu9Xa8wUQST91ut/7yorVeaKv0tmhcEdZYG92SdtTj98pn\r
24         N9hsLx0W7oT1e12NMRr1eKShwcItE+dLhC5gc=\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;\r
26         h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to\r
27         :references;\r
28         b=B2TdGxt8sbFlvFJlMgMPXKy4CW+iehYSa7hlvgVuF0URlbY/ErEPBYL95aaNEcI1/U\r
29         HcyypQjgv8I2LSWLFX26BGHz6EGMEQM1OG3cj/OgCLao7phoE/kXAXHABjEvn7ayZcbr\r
30         E6PGoIqXK42aqO3lb1vBDmw6FYyfRx5n1EAfU=\r
31 Received: by 10.204.143.153 with SMTP id v25mr7831994bku.116.1259172115820;\r
32         Wed, 25 Nov 2009 10:01:55 -0800 (PST)\r
33 Received: from localhost.localdomain (vawpc43.ethz.ch [129.132.59.11])\r
34         by mx.google.com with ESMTPS id k29sm8997651fkk.51.2009.11.25.10.01.54\r
35         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
36         Wed, 25 Nov 2009 10:01:54 -0800 (PST)\r
37 Sender: Jed Brown <five9a2@gmail.com>\r
38 From: Jed Brown <jed@59A2.org>\r
39 To: notmuch@notmuchmail.org\r
40 Date: Wed, 25 Nov 2009 19:02:19 +0100\r
41 Message-Id: <1259172139-3274-2-git-send-email-jed@59A2.org>\r
42 X-Mailer: git-send-email 1.6.5.3\r
43 In-Reply-To: <1259172139-3274-1-git-send-email-jed@59A2.org>\r
44 References: <1259112914-19806-2-git-send-email-jed@59A2.org>\r
45         <1259172139-3274-1-git-send-email-jed@59A2.org>\r
46 Subject: [notmuch] [PATCH 2/2] Recognize reply --format=headers-only-git\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.12\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Wed, 25 Nov 2009 18:01:58 -0000\r
60 \r
61 This currently means the same thing as --format=headers-only, but this\r
62 name gives more freedom to change --format=headers-only without breaking\r
63 existing versions of git.\r
64 ---\r
65  notmuch-reply.c |    3 ++-\r
66  1 files changed, 2 insertions(+), 1 deletions(-)\r
67 \r
68 diff --git a/notmuch-reply.c b/notmuch-reply.c\r
69 index 9ca1236..2b16dae 100644\r
70 --- a/notmuch-reply.c\r
71 +++ b/notmuch-reply.c\r
72 @@ -376,7 +376,8 @@ notmuch_reply_command (void *ctx, int argc, char *argv[])\r
73             opt = argv[i] + sizeof ("--format=") - 1;\r
74             if (strcmp (opt, "default") == 0) {\r
75                 reply_format_func = notmuch_reply_format_default;\r
76 -           } else if (strcmp (opt, "headers-only") == 0) {\r
77 +           } else if (strcmp (opt, "headers-only") == 0 ||\r
78 +                      strcmp (opt, "headers-only-git") == 0) {\r
79                 reply_format_func = notmuch_reply_format_headers_only;\r
80             } else {\r
81                 fprintf (stderr, "Invalid value for --format: %s\n", opt);\r
82 -- \r
83 1.6.5.3\r
84 \r