Re: git clone questions relating to cpio

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: git clone questions relating to cpio

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:37

Johannes Schindelin [off-list ref] writes:
On Mon, 1 Oct 2007, Reece Dunn wrote:
quoted
I am running a Linux From Scratch 6.2 system that does not have cpio
installed on it. This means that I can't clone a local repository
unless I install cpio.
You might be interested in the workaround Hannes did in mingw.git; he made 
a wrapper script called 'cpio' using 'tar'.
I think that may be good enough as workaround, but I do not
think you would get the space saving from hardlinks that way.

Re: git clone questions relating to cpio

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:43:37

Junio C Hamano schrieb:
Johannes Schindelin [off-list ref] writes:
quoted
On Mon, 1 Oct 2007, Reece Dunn wrote:
quoted
I am running a Linux From Scratch 6.2 system that does not have cpio
installed on it. This means that I can't clone a local repository
unless I install cpio.
You might be interested in the workaround Hannes did in mingw.git; he made 
a wrapper script called 'cpio' using 'tar'.
I think that may be good enough as workaround, but I do not
think you would get the space saving from hardlinks that way.
FWIW, I'm thinking about changing the cpio -p (passthrough) part to use
'cp -l --parents --target-directory=...' instead of tar; this gives us hard 
links, even on NTFS. But it needs GNU's cp, of course.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help