From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: git.eclass |
Date: | Tue, 29 Dec 2009 17:18:24 |
Message-Id: | E1NPfi4-0005hN-K8@stork.gentoo.org |
1 | scarabeus 09/12/29 17:18:16 |
2 | |
3 | Modified: git.eclass |
4 | Log: |
5 | Replace cp with git clone (faster, yay) |
6 | |
7 | Revision Changes Path |
8 | 1.33 eclass/git.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?rev=1.33&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?rev=1.33&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/git.eclass?r1=1.32&r2=1.33 |
13 | |
14 | Index: git.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/git.eclass,v |
17 | retrieving revision 1.32 |
18 | retrieving revision 1.33 |
19 | diff -u -r1.32 -r1.33 |
20 | --- git.eclass 16 Dec 2009 20:35:38 -0000 1.32 |
21 | +++ git.eclass 29 Dec 2009 17:18:16 -0000 1.33 |
22 | @@ -1,6 +1,6 @@ |
23 | # Copyright 1999-2009 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.32 2009/12/16 20:35:38 scarabeus Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/git.eclass,v 1.33 2009/12/29 17:18:16 scarabeus Exp $ |
27 | |
28 | # @ECLASS: git.eclass |
29 | # @MAINTAINER: |
30 | @@ -304,7 +304,7 @@ |
31 | # unpack to the ${S} |
32 | popd &> /dev/null |
33 | debug-print "cp -aR \"${GIT_DIR}\" \"${S}\"" |
34 | - cp -aR "${GIT_DIR}" "${S}" |
35 | + git clone "${GIT_DIR}" "${S}" |
36 | |
37 | # set correct branch and the tree ebuild specified |
38 | pushd "${S}" > /dev/null |