1 Return-Path: <david@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 14D5C431FBD
\r
6 for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 02:51:53 -0700 (PDT)
\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 9vIaO1bX74X9 for <notmuch@notmuchmail.org>;
\r
16 Mon, 14 Jul 2014 02:51:45 -0700 (PDT)
\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 3EE6A431FBC
\r
21 for <notmuch@notmuchmail.org>; Mon, 14 Jul 2014 02:51:30 -0700 (PDT)
\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)
\r
23 (envelope-from <david@tethera.net>)
\r
24 id 1X6cus-0002hF-4e; Mon, 14 Jul 2014 06:51:26 -0300
\r
25 Received: (nullmailer pid 25226 invoked by uid 1000); Mon, 14 Jul 2014
\r
27 From: David Bremner <david@tethera.net>
\r
28 To: "W. Trevor King" <wking@tremily.us>
\r
29 Subject: Re: [PATCH 2/2] nmbug-status: Use 'show-ref --heads' for loading
\r
31 In-Reply-To: <20140713181339.GB23983@odin.tremily.us>
\r
32 References: <cover.1399749244.git.wking@tremily.us>
\r
33 <7ddcf7368895768aa0a2d37dac0d4f96e9666f16.1399749244.git.wking@tremily.us>
\r
34 <87tx6lfnjz.fsf@maritornes.cs.unb.ca>
\r
35 <20140713181339.GB23983@odin.tremily.us>
\r
36 User-Agent: Notmuch/0.18.1+37~gde262a2 (http://notmuchmail.org) Emacs/24.3.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Mon, 14 Jul 2014 06:51:22 -0300
\r
39 Message-ID: <87pph8b751.fsf@maritornes.cs.unb.ca>
\r
41 Content-Type: text/plain; charset=utf-8
\r
42 Content-Transfer-Encoding: quoted-printable
\r
43 Cc: notmuch@notmuchmail.org
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Mon, 14 Jul 2014 09:51:53 -0000
\r
58 "W. Trevor King" <wking@tremily.us> writes:
\r
60 > On Sun, Jul 13, 2014 at 09:30:56AM -0300, David Bremner wrote:
\r
61 >> I consider it a useful feature that it works without the user
\r
62 >> configuring a local branch. I agree that in more complex setups
\r
63 >> this ambiguity is not as nice, but I'd rather it was only the
\r
64 >> minority of users with unusual setups (e.g. multiple remotes) have
\r
65 >> to do configuration.
\r
67 > I could work up a patch that tried =E2=80=98git show-ref -s config=E2=80=
\r
69 > only fell back to =E2=80=98show-ref -s --heads=E2=80=99 if there were mul=
\r
71 > matches. That way folks with only origin/config wouldn't need a local
\r
72 > branch, but folks with multiple config-carrying remotes (or a single
\r
73 > config-carrying remote and a local branch) would have to have a local
\r
74 > config to break the tie. That's possible, and not *too* complicated,
\r
75 > but I personally prefer the consistency of just requiring a local
\r
78 It might be simpler to implement (and understand) to try first the local
\r
79 config branch and then fall back to "origin/config".
\r