Re: [PATCH v3] nmbug: Add an 'init' command
authorW. Trevor King <wking@tremily.us>
Sat, 29 Nov 2014 20:09:17 +0000 (12:09 +1600)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:53 +0000 (14:46 -0700)
75/2dc448f18ab00f94d62e03e0ffecf97121e95a [new file with mode: 0644]

diff --git a/75/2dc448f18ab00f94d62e03e0ffecf97121e95a b/75/2dc448f18ab00f94d62e03e0ffecf97121e95a
new file mode 100644 (file)
index 0000000..a4d7e09
--- /dev/null
@@ -0,0 +1,137 @@
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 15E1C431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 12:09:30 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id dhu9Dm5zS4O8 for <notmuch@notmuchmail.org>;\r
+       Sat, 29 Nov 2014 12:09:20 -0800 (PST)\r
+Received: from resqmta-ch2-11v.sys.comcast.net\r
+       (resqmta-ch2-11v.sys.comcast.net [69.252.207.43])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 25341431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 12:09:20 -0800 (PST)\r
+Received: from resomta-ch2-10v.sys.comcast.net ([69.252.207.106])\r
+       by resqmta-ch2-11v.sys.comcast.net with comcast\r
+       id MY8j1p0062JGN3p01Y9Kik; Sat, 29 Nov 2014 20:09:19 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+       by resomta-ch2-10v.sys.comcast.net with comcast\r
+       id MY9H1p00P152l3L01Y9JBt; Sat, 29 Nov 2014 20:09:19 +0000\r
+Received: by odin.tremily.us (Postfix, from userid 1000)\r
+       id 6D41C14A1231; Sat, 29 Nov 2014 12:09:17 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin;\r
+       t=1417291757; bh=l+33kXJsaNOMlDw7KcZcHPnp1uf7ZBp6w/N2JloEhuo=;\r
+       h=Date:From:To:Cc:Subject:References:In-Reply-To;\r
+       b=YoiDMfl5Bm7+a71he42i4lqagezHt0SkQDLcMplYBbqnujV5Yg4Zu4btrVaEPHWM5\r
+       Q47Ol8tcxlDprG8nc+3EI8wSMGiDSoKhCV8uT8GKjPAo0FNrW2u4ej/aTkmgmY/Czk\r
+       YA6ndSQeW8Txv3LhzAgMe/dntMIeOBfzjRcSek7g=\r
+Date: Sat, 29 Nov 2014 12:09:17 -0800\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>\r
+Subject: Re: [PATCH v3] nmbug: Add an 'init' command\r
+Message-ID: <20141129200917.GH4062@odin.tremily.us>\r
+References:\r
+ <113512958b3fd64902517c1c55576faef816f852.1414532174.git.wking@tremily.us>\r
+       <87a93a5or2.fsf@resox.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="6cMF9JLEeZkfJjkP"\r
+Content-Disposition: inline\r
+In-Reply-To: <87a93a5or2.fsf@resox.2x.cz>\r
+OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8;\r
+       url=http://tremily.us/pubkey.txt\r
+User-Agent: Mutt/1.5.23 (2014-03-12)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+       s=q20140121; t=1417291759;\r
+       bh=+gGilW/HCst//wMnW8ABDusU4IQyUqjcaET/s1NrkmQ=;\r
+       h=Received:Received:Received:Date:From:To:Subject:Message-ID:\r
+       MIME-Version:Content-Type;\r
+       b=d1kuHCGBlpwLbaSS25Ka5CvmARiyHa9kOEzhlaG4JdmRZcozGIE9hmIDTLq+dySMH\r
+       8QQWv1e+zWbICiI7RHfqdEkeJjrezZ2AnnyCHIrhq/lcW1+bYGqQsCyAmw0Mc1jBgA\r
+       VHwvcwoc1aJ66Fk/SaNpbM3ShdtptLxEPyoUFjLdfLkIiW73J6HWWH0uE0TobHqApH\r
+       X6G/jeOklHM/OkpRqGBiPq/O2mO6G8e0agf9LR+go73RX8Ykjg7Fs5iW7R3lhK6e73\r
+       fJ6RhhnlVD7M3OfJNPOzhrXHVGipUhH88f4cB757MRTqPKSMfePRyJZVq0efxS6goU\r
+       OKS2Uwzd3v17A==\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 29 Nov 2014 20:09:30 -0000\r
+\r
+\r
+--6cMF9JLEeZkfJjkP\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, Nov 29, 2014 at 10:40:01AM +0100, Michal Sojka wrote:\r
+> On =C3=9At, =C5=99=C3=ADj 28 2014, W. Trevor King wrote:\r
+> > +        _spawn(\r
+> > +            args=3D['git', 'init', '--separate-git-dir', NMBGIT, workd=\r
+ir],\r
+> > +            wait=3DTrue)\r
+> > +        _git(args=3D['config', '--unset', 'core.worktree'], wait=3DTru=\r
+e)\r
+> > +        _git(args=3D['config', 'core.bare', 'true'], wait=3DTrue)\r
+>=20\r
+> Why do you create a non-bare repository and then make it bare?\r
+\r
+Bare repositories don't usually have upstream tracking branches.  See\r
+the commit message for c2001674 (nmbug: Add 'clone' and replace\r
+FETCH_HEAD with @{upstream}, 2014-03-09) for details [1].  I can\r
+resubmit this patch with a commit message that mentions the\r
+explanation in c2001674 if folks want the extra clarity here.\r
+\r
+Cheers,\r
+Trevor\r
+\r
+[1]: id:de7dd9d4021cd17350df4423bc13f3da35f2b324.1394410765.git.wking@tremi=\r
+ly.us\r
+     http://thread.gmane.org/gmane.mail.notmuch.general/17457\r
+\r
+--=20\r
+This email may be signed or encrypted with GnuPG (http://www.gnupg.org).\r
+For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy\r
+\r
+--6cMF9JLEeZkfJjkP\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2\r
+\r
+iQIcBAEBAgAGBQJUeifrAAoJEG8/JgBt8ol8etQQALxYysd5Dn+MT3x2KtsUT00Y\r
+HKIkDe+jzptgjdzFPSeaSEj71OzmCfA0oewe0xfT3dWk+74Gdm6c+dTk0HUsk5r+\r
+Cqo5nMekfnVkW6+G728NJ2BPlYLtZfJXZK3dHRy1vn+ATac+6+X2WqSaR1Z7HEoz\r
+EN/zJdOlnhuCj/nyDFB2lqm8yptY0sqPjdaP1MlnJwM+ZOXIp8Hd0w6NxyCnUnlP\r
+huV2LOAJb/8tLuhRr2+EmUyuo7+DGjIuRQUpnp1h4BIPnaNbbY4aCynzNakCOrrr\r
+GgUkx29IawCGKkZ+YXnUVfr47MXGAtC1+PHQNMVWhIOnZ2wc107vfEahYCQcNxOl\r
+aymPc3V1qlMo5m9EU3RQh8D+ecctDIm6Hd+VC7gesI4pTEPR2Kk1uc6fRNgiUWSH\r
+lZ34E25nUb1xI2cSU6ehgNySg8/d1CIg0nv5+GRqu9E+2yN9V5MqWp2Q0Onhtuiw\r
+1uCJ7afMgCornvYSxUwuBeOJzjCPD1cjnTITrmidDOcOcKxFtNCureNLWXK6lLTc\r
+srbGUwYggpRzz9RkaU1sW+j/aARydHlvf92TO+bUM7N0L0B4ZLv8oZqogKvXVfOs\r
+uHXNrbigmbz/+JbpdfWWSxRApjppm3Z6K9waMwyG4q+csTnCVgZZNvGxDbyYsmjB\r
+dL5ZLkANuBxLjfPdNGAT\r
+=2JA0\r
+-----END PGP SIGNATURE-----\r
+\r
+--6cMF9JLEeZkfJjkP--\r