Re: Hi all
[notmuch-archives.git] / 1f / f1db1c83aab6ef9d63e365e99bb76659bac504
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 EBAE9431FBD\r
6         for <notmuch@notmuchmail.org>; Sun, 13 Jul 2014 05:31:08 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\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 dA0GqIYYoTeh for <notmuch@notmuchmail.org>;\r
16         Sun, 13 Jul 2014 05:31:01 -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 12D47431FBC\r
21         for <notmuch@notmuchmail.org>; Sun, 13 Jul 2014 05:31:01 -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 1X6Ivk-0006rl-G7; Sun, 13 Jul 2014 09:31:00 -0300\r
25 Received: (nullmailer pid 18458 invoked by uid 1000); Sun, 13 Jul 2014\r
26         12:30:56 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: "W. Trevor King" <wking@tremily.us>, notmuch@notmuchmail.org\r
29 Subject: Re: [PATCH 2/2] nmbug-status: Use 'show-ref --heads' for loading\r
30         configs\r
31 In-Reply-To:\r
32  <7ddcf7368895768aa0a2d37dac0d4f96e9666f16.1399749244.git.wking@tremily.us>\r
33 References: <cover.1399749244.git.wking@tremily.us>\r
34         <7ddcf7368895768aa0a2d37dac0d4f96e9666f16.1399749244.git.wking@tremily.us>\r
35 User-Agent: Notmuch/0.18.1+29~gb5327d4 (http://notmuchmail.org) Emacs/24.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Sun, 13 Jul 2014 09:30:56 -0300\r
38 Message-ID: <87tx6lfnjz.fsf@maritornes.cs.unb.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.13\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45         <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Sun, 13 Jul 2014 12:31:09 -0000\r
54 \r
55 "W. Trevor King" <wking@tremily.us> writes:\r
56 \r
57 > When loading configs from Git, the bare branch name (without a\r
58 > refs/heads/ prefix or similar) matches all branches of that name\r
59 > (including remote-tracking branches):\r
60 >\r
61 >   .nmbug $ git show-ref config\r
62 >   48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/heads/config\r
63 >   48f3bbf1d1492e5f3d2f01de6ea79a30d3840f20 refs/remotes/origin/config\r
64 >   4b6dbd9ffd152e7476f5101eff26747f34497cee refs/remotes/wking/config\r
65 >\r
66 > Instead of relying on the ordering of the matching references, use\r
67 > --heads to ensure we only match local branches.\r
68 \r
69 ah. I should have read both patches before replying. \r
70 \r
71 I consider it a useful feature that it works without the user\r
72 configuring a local branch.  I agree that in more complex setups this\r
73 ambiguity is not as nice, but I'd rather it was only the minority of\r
74 users with unusual setups (e.g. multiple remotes) have to do\r
75 configuration.\r
76 \r
77 d\r