18 Dec
2013
18 Dec
'13
10:04 a.m.
On Tue, Dec 17, 2013 at 6:34 PM, SamLT <samuel.lethiec@intelunix.fr> wrote:
Anyway, why not just doing something like this for step 2: cd $git archive --format=tar --prefix=$pkgname/ . | tar xf - -C $srcdir
(or even a shallow clone)
To expand the existing options, there's also git clone --shared but that is potentially dangerous. I'm still convinced that cloning the repository is a good thing, because it's fast, it uses hard links so it actually doesn't write that much and it allows easy updates. Lukas