Re: Hi all
[notmuch-archives.git] / dc / 9efa1ed3813680db2a9ca1d350b4ec45834790
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 5B05A431FBD\r
6         for <notmuch@notmuchmail.org>; Wed,  9 Apr 2014 18:01:37 -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 MYKHSAScN8Ix for <notmuch@notmuchmail.org>;\r
16         Wed,  9 Apr 2014 18:01:33 -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 03B8B431FBC\r
21         for <notmuch@notmuchmail.org>; Wed,  9 Apr 2014 18:01:32 -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 1WY3Mv-0004Y0-Hs; Wed, 09 Apr 2014 22:01:29 -0300\r
25 Received: (nullmailer pid 4336 invoked by uid 1000); Thu, 10 Apr 2014\r
26         01:01:25 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: "W. Trevor King" <wking@tremily.us>\r
29 Subject: Re: [PATCH] NEWS: Document the recent 'nmbug clone' and @{upstream}\r
30         changes\r
31 In-Reply-To: <20140409210108.GB21805@odin.tremily.us>\r
32 References: <878urg849d.fsf@zancas.localnet>\r
33         <151b4a1b9612daa53fb47b60f0aa65f7a8e5ef5e.1396972599.git.wking@tremily.us>\r
34         <871tx67nnx.fsf@zancas.localnet>\r
35         <20140409210108.GB21805@odin.tremily.us>\r
36 User-Agent: Notmuch/0.17+164~g31fc76b (http://notmuchmail.org) Emacs/24.3.1\r
37         (x86_64-pc-linux-gnu)\r
38 Date: Wed, 09 Apr 2014 22:01:25 -0300\r
39 Message-ID: <87sipm576i.fsf@zancas.localnet>\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 Cc: notmuch <notmuch@notmuchmail.org>\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Thu, 10 Apr 2014 01:01:37 -0000\r
56 \r
57 "W. Trevor King" <wking@tremily.us> writes:\r
58 \r
59 > We need non-bare repositories to have remote-tracking branches\r
60 > (distinct from local branches) [3], and we need remote-tracking\r
61 > branches to have working @{upstream}.\r
62 \r
63 OK, I see what you mean, the repository has "bare = false". On the other\r
64 hand we immediately blow away the work tree, and after the initial clone\r
65 it seems to work fine to set bare = true. It might even make sense to\r
66 apply\r
67 \r
68 \r
69 diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug\r
70 index d6f5213..b18ded7 100755\r
71 --- a/devel/nmbug/nmbug\r
72 +++ b/devel/nmbug/nmbug\r
73 @@ -134,6 +134,7 @@ sub do_clone {\r
74            $repository, $tempwork) == 0\r
75      or die "'git clone' exited with nonzero value\n";\r
76    git ('config', '--unset', 'core.worktree');\r
77 +  git ('config', 'core.bare', 'true');\r
78  }\r
79 \r
80 \r
81 > I think that's reasonable support for my claim (and most of it is in\r
82 > the original c200167 commit message), but maybe not?\r
83 \r
84 In any case, I think I think it's mainly a technicality, and that we\r
85 want to keep the level of detail in the release notes down a bit.  If\r
86 you don't like the above mini-patch, then maybe a NOTES section in the\r
87 nmbug docs.\r
88 \r
89 >> Is the "remote repository" in step 1 meant to be the central repo? or\r
90 >> just a backup?\r
91 >\r
92 > The backup.  If you have nothing to backup, you already got everything\r
93 > back after cloning the central repo.\r
94 \r
95 It might be less confusing to explicitly use the word "backup" in step 1 then.\r