From 679ba212dde11027d2a3a7adaa81820263d43efe Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 4 Mar 2013 22:45:55 +2000 Subject: [PATCH] Re: [RFC] [PATCH] lib/database.cc: change how the parent of a message is calculated --- fa/456678d85c96d3eeaab9c6781467d3125a9600 | 73 +++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 fa/456678d85c96d3eeaab9c6781467d3125a9600 diff --git a/fa/456678d85c96d3eeaab9c6781467d3125a9600 b/fa/456678d85c96d3eeaab9c6781467d3125a9600 new file mode 100644 index 000000000..f409926f2 --- /dev/null +++ b/fa/456678d85c96d3eeaab9c6781467d3125a9600 @@ -0,0 +1,73 @@ +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 13A7F431FAF + for ; Sun, 3 Mar 2013 18:46:37 -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 OMibmfE0x15x for ; + Sun, 3 Mar 2013 18:46:36 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 8BBB1431FAE + for ; Sun, 3 Mar 2013 18:46:36 -0800 (PST) +Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net + ([156.34.82.78] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa + (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) + (envelope-from ) + id 1UCLQ7-0004y8-Ih; Sun, 03 Mar 2013 22:46:31 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.80) + (envelope-from ) + id 1UCLPX-0006md-Ks; Sun, 03 Mar 2013 22:45:55 -0400 +From: David Bremner +To: Aaron Ecay , Jani Nikula , + notmuch@notmuchmail.org +Subject: Re: [RFC] [PATCH] lib/database.cc: change how the parent of a message + is calculated +In-Reply-To: <87sj4cvy0h.fsf@gmail.com> +References: <1361836225-17279-1-git-send-email-aaronecay@gmail.com> + <87621cteeb.fsf@nikula.org> <871ubzt5gr.fsf@nikula.org> + <87wqtovygl.fsf@gmail.com> <87sj4cvy0h.fsf@gmail.com> +User-Agent: Notmuch/0.15.2+32~g16aa65b (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-pc-linux-gnu) +Date: Sun, 03 Mar 2013 22:45:55 -0400 +Message-ID: <87ppzfzxuk.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-Spam_bar: - +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: Mon, 04 Mar 2013 02:46:37 -0000 + +Aaron Ecay writes: + +> git send-email is mad about lines >998 characters in the test patch, so +> I=E2=80=99m sending the patches as attachments to this email. (Is there a +> better way to include the expected output of a notmuch command which +> outputs long lines in a test script?) + +What about pretty printing the json in the source? +test_expect_equal_json canonicalizes both arguments before comparing, so +it should be ok. + +d -- 2.26.2