From 2c1dbbf7964d5ca248283b94fa88ff2bcdfe6c0f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 9 Mar 2014 08:30:16 +1600 Subject: [PATCH] Re: [PATCH] nmbug: Add 'clone' and replace FETCH_HEAD with @{upstream} --- 1e/f6fe844707cf2282d3ff14a8ce2a77fe65d02e | 128 ++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 1e/f6fe844707cf2282d3ff14a8ce2a77fe65d02e diff --git a/1e/f6fe844707cf2282d3ff14a8ce2a77fe65d02e b/1e/f6fe844707cf2282d3ff14a8ce2a77fe65d02e new file mode 100644 index 000000000..acf329d0d --- /dev/null +++ b/1e/f6fe844707cf2282d3ff14a8ce2a77fe65d02e @@ -0,0 +1,128 @@ +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 0FAAA431FBF + for ; Sat, 8 Mar 2014 08:30:22 -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 b6MZhcbjzmSS for ; + Sat, 8 Mar 2014 08:30:18 -0800 (PST) +Received: from qmta05.westchester.pa.mail.comcast.net + (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) + by olra.theworths.org (Postfix) with ESMTP id 6B923431FBD + for ; Sat, 8 Mar 2014 08:30:18 -0800 (PST) +Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) + by qmta05.westchester.pa.mail.comcast.net with comcast + id b3gG1n0050xGWP8554WJWB; Sat, 08 Mar 2014 16:30:18 +0000 +Received: from odin.tremily.us ([24.18.63.50]) + by omta12.westchester.pa.mail.comcast.net with comcast + id b4WG1n00N152l3L3Y4WHwa; Sat, 08 Mar 2014 16:30:18 +0000 +Received: by odin.tremily.us (Postfix, from userid 1000) + id 8EE74106C168; Sat, 8 Mar 2014 08:30:16 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; + t=1394296216; bh=dk/PkKbR3YGRU9BHmrIL04DAp+FlbZgCJHBf7Xc+ql8=; + h=Date:From:To:Cc:Subject:References:In-Reply-To; + b=aKCjIVugRKMVorxOZFeYc9KmK1RTBIIigc5X0lXcrVC4sy631IQh5y6de6JZmk52x + 4yBJRtxTpLMMkvYLLCDUS+g6eNlioWThKkiE7XF2yBXiZK6ALyyzVnzV1ck7RZL63y + Pw2KjTK6rZqTD12Qg+rG5cmdcp1wE2GO5y/UD1KQ= +Date: Sat, 8 Mar 2014 08:30:16 -0800 +From: "W. Trevor King" +To: David Bremner +Subject: Re: [PATCH] nmbug: Add 'clone' and replace FETCH_HEAD with + @{upstream} +Message-ID: <20140308163016.GN16433@odin.tremily.us> +References: + <80db13662a0313711ca3a91e338a63d35e64a83c.1391898002.git.wking@tremily.us> + <87siqsrhch.fsf@zancas.localnet> <20140308162633.GM16433@odin.tremily.us> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; boundary="1HuzLmPZrG5RH6bG" +Content-Disposition: inline +In-Reply-To: <20140308162633.GM16433@odin.tremily.us> +OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; + url=http://tremily.us/pubkey.txt +User-Agent: Mutt/1.5.22 (2013-10-16) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20121106; t=1394296218; + bh=hifj/fdcuV9cODn/IAuoL1x71yDpe+5eVF0NlVmh2yw=; + h=Received:Received:Received:Date:From:To:Subject:Message-ID: + MIME-Version:Content-Type; + b=aaV0JPXhOB2U35ra5cGr8G3y5w/OYEafHiD/NW42UuAt61sqgqbd47ywjgo+wpFUX + LdgvJpVOE5W0FMaJhRH3SvRBWTrcaP9RcpjiwVLnqA8rXt6hFf92Yzg6lcHv5T9lKK + 4uu/OuB6ekLwA29SQkJZX4yQr5ILrLYd4VQbCD8HBBOoGdOZ61swjE15oEL7fZYUh5 + FqPu6QyvkMt0ByR80jnHVL/UQ4/XWjvo9aD7wn+cyoHRa/pOBGysucy2TIQFvMH84m + v/srp0YfLzD+5rIdnTDYu4E2Ut6Xolh6LGS5breKj7SvLhYKSDfbGOBzWeWJ5qGten + BGPaWh0MtIdQg== +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, 08 Mar 2014 16:30:22 -0000 + + +--1HuzLmPZrG5RH6bG +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Sat, Mar 08, 2014 at 08:26:33AM -0800, W. Trevor King wrote: +> That's going to create ~/.nmbug/.git though, if we want to preserve +> the current bare-style ~/.nmbug/ layout, we'd need something like: +>=20 +> $ TEMPDIR=3D$(mktemp -d) +> $ git clone --no-checkout --separate-git-dir=3D~/.nmbug \ +> > http://nmbug.tethera.net/git/nmbug-tags.git "${TEMPDIR}/nmbug" +> $ rm -rf "${TEMPDIR}" + +Ah, we'd also want to remove the worktree link to the ephemeral +"${TEMPDIR}" with: + + $ git config --unset core.worktree + +Cheers, +Trevor + +--=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 + +--1HuzLmPZrG5RH6bG +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQIcBAEBAgAGBQJTG0WXAAoJEKKfehoaNkbtJVYQAJjYAN8CIci5hy7TW/lchf6K +K16K1oVDLvK9470CgOTUXug7BYR8/7XUlvoXOkEZ2gk4eUS2BiWg2uMmyUEq5x0l +BgJf24c/nHtw1/loEVV3c/a4GVFBmkd8WnbH1k6rFwCH+bnowShqGE+YlQE86Fld +rUIMuyCBmFlmysUiWopSQP2evhuBI5cU0s4jnbResBwDT4Cs/eW/vrAu4Qghce00 +XxspLl4U0QtO637WP+jC34KrYelJhp0fo254xme0oghWGzj4i8qcEMDubfmKshyi +AjJli9g4Dp9MxrzlN+Ndfsn03y3uiGBK3uQhIqUZRScIcY6LukbuYgu90n9B/uIo +bJx1OJ42jsQWxn6QA9AIJ+b/CEUsdj6Ek7sOEhGxuExWUSuvpZpkOGLzo1nVdR89 +WYieKY4XTtSg0MQigWImBYQoYmLDxsvHyqX4IlCw2rzjA7XkjSccDbb/BELux9Lp +EftSZUeOq0gfq/tVu0Kz/8I0Lw19wc+qNsXalt1B9b16wBsY/jkodIIAONsEYLf4 +KfWp5csziO5mKaHH7j3f41VcAmIy0qGJvbr7oyO9ysqo50gTx1LVuA4j09gTUmUC +uEW52ruv4Cr4LF//ReM0dTWrVyWnHIAjOvJ6X3pXkw2qXQhxKPSNPNMcdEgRFUET +CzZN10iu4o8wumcFTLeK +=Wpu9 +-----END PGP SIGNATURE----- + +--1HuzLmPZrG5RH6bG-- -- 2.26.2