1 |
On Tue, Mar 22, 2011 at 7:41 PM, Ryan Hill wrote: |
2 |
> On Tue, 22 Mar 2011 19:08:53 -0400 Mike Frysinger wrote: |
3 |
>> > rsync -rlpgo . "${EGIT_SOURCEDIR}" \ |
4 |
>> |
5 |
>> this means you need to have DEPEND="net-misc/rsync". why not just use |
6 |
>> `cp -pPR` instead ? i vaguely recall rsync being slower than a |
7 |
>> straight cp too ... not much point of doing a rsync when the vast |
8 |
>> majority of the time (all the time?) the destination is empty. |
9 |
> |
10 |
> i think i remember doing some time tests using a tar pipe at one point with |
11 |
> subversion.eclass that blew cp out of the water. |
12 |
> |
13 |
> tar -cf - . | tar -xf - -C "${EGIT_SOURCEDIR}" |
14 |
> |
15 |
> might be worth looking at. |
16 |
|
17 |
ideally, the git eclass should be creating bare checkouts only in its |
18 |
store dir, in which case it could use `git archive | tar` to move |
19 |
things over ... |
20 |
-mike |