Re: emacs: notmuch-tree, reading messages and tags
[notmuch-archives.git] / a3 / 56110b3fd01b32ed98935bc21aa652535cee40
1 Return-Path: <wking@tremily.us>\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 5E673431FBF\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 12:18:40 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.1\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id ZLwb65ygYbm0 for <notmuch@notmuchmail.org>;\r
17         Sat, 29 Nov 2014 12:18:32 -0800 (PST)\r
18 Received: from resqmta-po-09v.sys.comcast.net (resqmta-po-09v.sys.comcast.net\r
19         [96.114.154.168])\r
20         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id C56A3431FAE\r
23         for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 12:18:32 -0800 (PST)\r
24 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231])\r
25         by resqmta-po-09v.sys.comcast.net with comcast\r
26         id MYJW1p0034zp9eg01YJYYo; Sat, 29 Nov 2014 20:18:32 +0000\r
27 Received: from odin.tremily.us ([24.18.63.50])\r
28         by resomta-po-07v.sys.comcast.net with comcast\r
29         id MYJV1p00f152l3L01YJWUn; Sat, 29 Nov 2014 20:18:32 +0000\r
30 Received: by odin.tremily.us (Postfix, from userid 1000)\r
31         id A652A14A1264; Sat, 29 Nov 2014 12:18:29 -0800 (PST)\r
32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
33         t=1417292309; bh=KpodhhlL82h0sVZsogQkNc/U8TX8zJhUoxtYR9r0/qA=;\r
34         h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
35         b=hZK6r/Q+MjOtFoMeO5OtfCublKnJXeCyLjNG5hyg3en3B47XMaE8EGQWVc7yuL3di\r
36         XHV5wUKPqnI4L2mNxXjPRQGSIpdwyO6mDuUUCtRftLO/mkb3LXoI0VG28Yh2RoTlWf\r
37         oJd2QNBA5XQq1E6RDRwMzL5dQFb703/Td7eixOHQ=\r
38 Date: Sat, 29 Nov 2014 12:18:29 -0800\r
39 From: "W. Trevor King" <wking@tremily.us>\r
40 To: Michal Sojka <sojkam1@fel.cvut.cz>\r
41 Subject: Re: [PATCH v3] nmbug: Add an 'init' command\r
42 Message-ID: <20141129201829.GI4062@odin.tremily.us>\r
43 References:\r
44  <113512958b3fd64902517c1c55576faef816f852.1414532174.git.wking@tremily.us>\r
45         <87a93a5or2.fsf@resox.2x.cz>    <20141129200917.GH4062@odin.tremily.us>\r
46 MIME-Version: 1.0\r
47 Content-Type: multipart/signed; micalg=pgp-sha1;\r
48         protocol="application/pgp-signature"; boundary="l0l+eSofNeLXHSnY"\r
49 Content-Disposition: inline\r
50 In-Reply-To: <20141129200917.GH4062@odin.tremily.us>\r
51 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
52         url=http://tremily.us/pubkey.txt\r
53 User-Agent: Mutt/1.5.23 (2014-03-12)\r
54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
55         s=q20140121; t=1417292312;\r
56         bh=N7Gh/Ao5H3Ro3zCSB0hOc3glUBl25jaXylqOLCUwdTo=;\r
57         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
58         MIME-Version:Content-Type;\r
59         b=rSbkK/SeIQ/PaJr2+mQWjoCrLYysrSCefT4JWekFQ1tlUraZMaQBDTyjd8HL6JalF\r
60         4FFk6/IYjXj97RGhTJ9KT+JhndqGDW7ETH9rijSPQDqeNC8SHWMY0ivh74xUeU8q3I\r
61         DH352krCB+5PhCMSEiXbKzQiTTGI4Hb0ybzVbSdsGg4kIMvUkTJOo38HyNgyXLSgRW\r
62         TC4kaRXir+BTq4N9XmQdJ2biZPvvPrkzMbe6mea8Hi1DHNqw0Nim1tk3CIhL9tMq4S\r
63         TQktoaz0XI6wkmV4GYqh1E37NmEbhlMGcO8KbwlWNOwoZHTe0aegN/DPvijQ6cqEMF\r
64         C0pADiXPQQsBw==\r
65 Cc: notmuch@notmuchmail.org\r
66 X-BeenThere: notmuch@notmuchmail.org\r
67 X-Mailman-Version: 2.1.13\r
68 Precedence: list\r
69 List-Id: "Use and development of the notmuch mail system."\r
70         <notmuch.notmuchmail.org>\r
71 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
72         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
74 List-Post: <mailto:notmuch@notmuchmail.org>\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
76 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
77         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
78 X-List-Received-Date: Sat, 29 Nov 2014 20:18:40 -0000\r
79 \r
80 \r
81 --l0l+eSofNeLXHSnY\r
82 Content-Type: text/plain; charset=utf-8\r
83 Content-Disposition: inline\r
84 Content-Transfer-Encoding: quoted-printable\r
85 \r
86 On Sat, Nov 29, 2014 at 12:09:17PM -0800, W. Trevor King wrote:\r
87 > On Sat, Nov 29, 2014 at 10:40:01AM +0100, Michal Sojka wrote:\r
88 > > On =C3=9At, =C5=99=C3=ADj 28 2014, W. Trevor King wrote:\r
89 > > > +        _spawn(\r
90 > > > +            args=3D['git', 'init', '--separate-git-dir', NMBGIT, wor=\r
91 kdir],\r
92 > > > +            wait=3DTrue)\r
93 > > > +        _git(args=3D['config', '--unset', 'core.worktree'], wait=3DT=\r
94 rue)\r
95 > > > +        _git(args=3D['config', 'core.bare', 'true'], wait=3DTrue)\r
96 > >=20\r
97 > > Why do you create a non-bare repository and then make it bare?\r
98 >=20\r
99 > Bare repositories don't usually have upstream tracking branches.  See\r
100 > the commit message for c2001674 (nmbug: Add 'clone' and replace\r
101 > FETCH_HEAD with @{upstream}, 2014-03-09) for details [1].  I can\r
102 > resubmit this patch with a commit message that mentions the\r
103 > explanation in c2001674 if folks want the extra clarity here.\r
104 \r
105 Ah, it seems that the lack of remote-tracking branches is unique to\r
106 'clone --bare'.  When I compare 'init --bare' with the above (using\r
107 Git 2.1.0), the only difference in the resulting repository is that\r
108 the the 'init --bare' form doesn't set core.logallrefupdates, while\r
109 the form above sets core.logallrefupdates to true.  I'll submit v4\r
110 using 'init --bare' and an explicit core.logallrefupdates config.\r
111 \r
112 Cheers,\r
113 Trevor\r
114 \r
115 --=20\r
116 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
117 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
118 \r
119 --l0l+eSofNeLXHSnY\r
120 Content-Type: application/pgp-signature; name="signature.asc"\r
121 Content-Description: OpenPGP digital signature\r
122 \r
123 -----BEGIN PGP SIGNATURE-----\r
124 Version: GnuPG v2\r
125 \r
126 iQIcBAEBAgAGBQJUeioUAAoJEG8/JgBt8ol8O44P/ig2SMSU0ecNZ2xwuE6Fp4Vv\r
127 pfjT5qcIx5YVK8NySY7jXPTB9Vg3rgkx/Khb8M0ZUWdSu+YJKVID1hBpL51bTe32\r
128 eCtLYwtutf8c8Nw6urJvas+noqTGCZsLQbuBAt54hBgya8waVWqqy7VVMGaonIaK\r
129 abvqkuXQn2Z6050ZCfSWT5xfBYGxiEOxfpdHrwPuWUo52rws2/FkusspyjNaFX6z\r
130 fT79zOw9Jd8h211JoaGYc6LueuhM4xN8AU8xdhp6SQxTRV0pZzy6SqAaknhSRAwM\r
131 0hg0dAGCBoSDQMh0jC0CB3I/8ARnVVWfNjvDWkYCLB0kHF5rp6LDUj157QRaDF5l\r
132 3o/kBYZiGm+2yvJeD/oP7cKQCoKWNocqCtrteuFNqe9j8Vgx8ivgYEh/X8WGLGQt\r
133 rbFaqOICv+diNPaDsdCuvfHP1oElgOoLuvEY2xUIA2PxrQdPlpsHtvAzGEauuU+/\r
134 wOFgjahEWnFIcMII93uP9ByZjJ1y7a50rPdcO3j6bfrLomVRkrDgZYgQmRhzHBCt\r
135 F8EyYQEDSV511Pd3KDxXpM4viLUw/OcK+v6kz+93CWH57cq5B00ZMNGoeYdU8HhP\r
136 frMasnU/ovtavKtmSOxGCZpLcAFTm6xH2lAIqCL9qU7Qw/xfmmWBoXD50Zj9cS/7\r
137 0bI5CJSrgOKJJBjr6Ue8\r
138 =bnI1\r
139 -----END PGP SIGNATURE-----\r
140 \r
141 --l0l+eSofNeLXHSnY--\r