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