From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q2BQo-0005lO-Bt for garchives@archives.gentoo.org; Tue, 22 Mar 2011 23:56:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D50B01C069; Tue, 22 Mar 2011 23:56:01 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B11E1C00F for ; Tue, 22 Mar 2011 23:55:33 +0000 (UTC) Received: by fxm11 with SMTP id 11so9219108fxm.40 for ; Tue, 22 Mar 2011 16:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=wiaHWJxXlZBQ776pVs8UlGP7fD4FzDHvjSd7W65DB5w=; b=Wclo/VI5CRTB6XiIKxsiYHgrf/KZ75pdoxNRKeiBHCUPtDvsp23sIdlFCbJpl+f5iF BQ1tPnzmyxkjx8u4xjm4fca8XdysGkE2UQ1OgmTBudohVJo/YtDbqrb7e4+i96ADiDgp yUnUpQ98ur+VxteCS6WY9PUFDLX0IQF5P/4NY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=ehKLQCnbsuHYz1hKlYDv/vxwjoUG6fxb1TuiLX2A+kOcgSDfTf8CL/DobrpRYsC0SJ i75x9QltjC2K7gorVWDvvuywXl7srsIP65JBDGRMSzhg3zvDVqywaRp5prrh09+hXSnZ M+3L6KLMajqAF0F+ayKC50zFQ4nIoe7GPDgjM= Received: by 10.223.5.26 with SMTP id 26mr95901fat.68.1300838133066; Tue, 22 Mar 2011 16:55:33 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Sender: vapierfilter@gmail.com Received: by 10.223.5.15 with HTTP; Tue, 22 Mar 2011 16:55:13 -0700 (PDT) In-Reply-To: <20110322174127.259ab257@gentoo.org> References: <4D890F8D.4090706@gentoo.org> <4D8924CD.8000404@gentoo.org> <20110322174127.259ab257@gentoo.org> From: Mike Frysinger Date: Tue, 22 Mar 2011 19:55:13 -0400 X-Google-Sender-Auth: pyhzt5xeBP4MitSeY5hpOb2Y9ZE Message-ID: Subject: Re: [gentoo-dev] Re: git-2.eclass final review To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e9baa6931864e4bd8b531778dffbf325 On Tue, Mar 22, 2011 at 7:41 PM, Ryan Hill wrote: > On Tue, 22 Mar 2011 19:08:53 -0400 Mike Frysinger wrote: >> > rsync -rlpgo . "${EGIT_SOURCEDIR}" \ >> >> this means you need to have DEPEND=3D"net-misc/rsync". =A0why not just u= se >> `cp -pPR` instead ? =A0i vaguely recall rsync being slower than a >> straight cp too ... not much point of doing a rsync when the vast >> majority of the time (all the time?) the destination is empty. > > i think i remember doing some time tests using a tar pipe at one point wi= th > subversion.eclass that blew cp out of the water. > > tar -cf - . | tar -xf - -C "${EGIT_SOURCEDIR}" > > might be worth looking at. ideally, the git eclass should be creating bare checkouts only in its store dir, in which case it could use `git archive | tar` to move things over ... -mike