Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 53 / 030113a627a7c259363ad82ad06bc96b6ee79f
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 2124E431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 10:23:31 -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.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 J0nKr4Dvv8NL for <notmuch@notmuchmail.org>;\r
17         Tue, 15 Apr 2014 10:23:23 -0700 (PDT)\r
18 Received: from qmta04.westchester.pa.mail.comcast.net\r
19         (qmta04.westchester.pa.mail.comcast.net [76.96.62.40])\r
20         by olra.theworths.org (Postfix) with ESMTP id 47C9C431FBD\r
21         for <notmuch@notmuchmail.org>; Tue, 15 Apr 2014 10:23:23 -0700 (PDT)\r
22 Received: from omta18.westchester.pa.mail.comcast.net ([76.96.62.90])\r
23         by qmta04.westchester.pa.mail.comcast.net with comcast\r
24         id qDWG1n0031wpRvQ54HPMuX; Tue, 15 Apr 2014 17:23:21 +0000\r
25 Received: from odin.tremily.us ([24.18.63.50])\r
26         by omta18.westchester.pa.mail.comcast.net with comcast\r
27         id qHPK1n00X152l3L3eHPLmU; Tue, 15 Apr 2014 17:23:21 +0000\r
28 Received: by odin.tremily.us (Postfix, from userid 1000)\r
29         id 9C72411481D9; Tue, 15 Apr 2014 10:23:19 -0700 (PDT)\r
30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
31         t=1397582599; bh=LIMbYD6fKI8RSBhg1UMrPV39tfHLmw/0nTOvSHBva8M=;\r
32         h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
33         b=aSiyAcpjyVYFG1puwvoBEl+AGCyoPDFIEFL7VUNOQZFCLJJvYzkna+G0cRb8nXENL\r
34         peI853NNHuHpAYy1mKu2XqDydYexOcUAQYUhf3s0Pxkc8/tD8JqBjYxssRs7E9NfWK\r
35         psWFjVXTUT8EX1A80yTxaq6g71Zrb2502POt/BgA=\r
36 Date: Tue, 15 Apr 2014 10:23:19 -0700\r
37 From: "W. Trevor King" <wking@tremily.us>\r
38 To: David Bremner <david@tethera.net>\r
39 Subject: Re: [PATCH] nmbug: mark repository as bare on clone\r
40 Message-ID: <20140415172319.GJ21805@odin.tremily.us>\r
41 References: <1397320232-32458-1-git-send-email-david@tethera.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; micalg=pgp-sha1;\r
44         protocol="application/pgp-signature"; boundary="fLj60tP2PZ34xyqD"\r
45 Content-Disposition: inline\r
46 In-Reply-To: <1397320232-32458-1-git-send-email-david@tethera.net>\r
47 OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
48         url=http://tremily.us/pubkey.txt\r
49 User-Agent: Mutt/1.5.22 (2013-10-16)\r
50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
51         s=q20140121; t=1397582601;\r
52         bh=eWfjYvOLJJ5PtfhH1Y3oy+DdjGfBnoV83WKhBV4piak=;\r
53         h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
54         MIME-Version:Content-Type;\r
55         b=n8v7vIqzXqYxaOMWnzBqGm3B0m2klEAUB5OgL7VCXfEvAdoHZ1anFwj+3D6/R+25i\r
56         jvryhv0UgaU+FMepmKZSagBtY4/ThV8AzQ2lV25JZMJ2d5DZbQ6Q80HqFPXtrNtB/Q\r
57         hcoLB+uAKEL9wciNIpCjsv49hAUvlqd9u9tqS70eTUEUwnvZZtzzofntkzleU9kIL0\r
58         gHzhlD3KRY7zvNTFEgElMW8h7AVnf8OiL+gap2uhHCaL0CKqhYljWi2QwfjT+MoGim\r
59         Xx/szdxyeAWHlMVTTwgY2vh5CAqhK2Gr8lsb2YPBuN5qDWnSinstc6yz0vdrLAgT/P\r
60         F6gOyj/odZa4Q==\r
61 Cc: notmuch@notmuchmail.org\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.13\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66         <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
70 List-Post: <mailto:notmuch@notmuchmail.org>\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
73         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Tue, 15 Apr 2014 17:23:31 -0000\r
75 \r
76 \r
77 --fLj60tP2PZ34xyqD\r
78 Content-Type: text/plain; charset=utf-8\r
79 Content-Disposition: inline\r
80 Content-Transfer-Encoding: quoted-printable\r
81 \r
82 On Sat, Apr 12, 2014 at 01:30:32PM -0300, David Bremner wrote:\r
83 > As far as I can figure out, if a git repository is non-bare, then it\r
84 > should either have core.worktree set, or the parent directory should\r
85 > be the worktree.\r
86 \r
87 If this works in your testing, then +1 from me ;).  However, the\r
88 default is the current working directory, not the repo's parent\r
89 directory [1]:\r
90 \r
91   core.worktree\r
92     =E2=80=A6\r
93     If --git-dir or GIT_DIR is specified but none of --work-tree,\r
94     GIT_WORK_TREE and core.worktree is specified, the current working\r
95     directory is regarded as the top level of your working tree.\r
96 \r
97 > % cd $HOME && ln -s .nmbug .git && git reset --hard\r
98 >=20\r
99 > would delete a bunch of files.\r
100 \r
101 Actually, that would just clobber existing ~/tags/{message-id}/{tag}\r
102 files, which the user likely doesn't have.  To remove files, you'd\r
103 need something like:\r
104 \r
105   $ cd $HOME && ln -s .nmbug .git && git clean -f\r
106 \r
107 Still, these are just quibbles with the commit message.  I'm +1 on the\r
108 code change.  My initial bare-resistance [2] was because I didn't\r
109 realize that an explicit GIT_WORK_TREE would override the core.bare\r
110 setting.\r
111 \r
112 Cheers,\r
113 Trevor\r
114 \r
115 [1]: https://www.kernel.org/pub/software/scm/git/docs/git-config.html\r
116 [2]: http://article.gmane.org/gmane.mail.notmuch.general/17817\r
117 \r
118 --=20\r
119 This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
120 For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
121 \r
122 --fLj60tP2PZ34xyqD\r
123 Content-Type: application/pgp-signature; name="signature.asc"\r
124 Content-Description: OpenPGP digital signature\r
125 \r
126 -----BEGIN PGP SIGNATURE-----\r
127 Version: GnuPG v2.0.22 (GNU/Linux)\r
128 \r
129 iQIcBAEBAgAGBQJTTWsCAAoJEKKfehoaNkbtYYoP/27FhdXV70IPv8ZEnWzubYYv\r
130 SxHc5RTakUdHPrQnPNFJLOHN00JoAcM0AxxEZjml+1ReRgKuTPzRTaL9AyecmQN8\r
131 o91LYBBU9tqEpB18LjZ1PZ71hBgVEqycd5CrLuFQyTUTxVhWR6Hom/lVUkQPlvOy\r
132 m2JOGxjyDJdUTed5NL/FmHx71JvxnhsktBDb9zddN7nGl08QR4j1rmmev4BTUHeu\r
133 rImLXFCkwCzbU10HKGhVVGoVNYhbQl46RBmb13knO7bF3mdnz0ujNzyy4IoPqBgf\r
134 kA/im8Ycp/w2mlxViqXwRB+AXydM1M775jgpA8q/kzrEby+tU8J29D1pLHAcLQAR\r
135 2XTKlJ43SH1lLn7szvjpPnfWuneReYYqO+mGoHt3s2yEyVWdzkkhmyNKN+9wsVrF\r
136 ANxsYlskWITYD/jEJ9G7iChIN5YoDGE7+NYndvbJQIIhehBgVmhoaMAuXmHxRVVu\r
137 jFggLE3rtbMif7AIY1FC3K+QIUNHq80qg22XkzKkI1WbJHwsj1FgQUiuj6LUHYjO\r
138 /K1JkSwAJmnbXwj9RS07axAetM8DXI6RzYitVWJZJPlK+9zae5J1On9YgVPVtqEY\r
139 uS9VAiFuVzh9/IHi5Hd+FazQvxN3MksmwcUh7qSMsl7gPPcdkaJv21H+Nu3ioqAm\r
140 yD1T3/tD0Scl/m8O6n9H\r
141 =puKu\r
142 -----END PGP SIGNATURE-----\r
143 \r
144 --fLj60tP2PZ34xyqD--\r