Re: [PATCH] Get rid of cpio in git-clone (was: Re: cpio command not found)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Erik Mouw <mouw@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, Karl Hasselstr?m <kha@...>, Bill Lear <rael@...>, <git@...>
Date: Wednesday, October 31, 2007 - 4:22 pm

On Wed, Oct 31, 2007 at 09:14:25PM +0100, Erik Mouw wrote:


Good, now we have something to critique. :)


cp -l isn't even close to portable. It's not in POSIX, and doesn't work
on (at least) Solaris.

I think Mike's patch (cpio if available, copy otherwise) is a reasonable
approach. If there are other methods (and I think cp -l is not
unreasonable for systems where it is supported and cpio is unavailable),
then perhaps it is worth trying them one by one and dropping back to
full copy if all fail.

-Peff
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cpio command not found, Bill Lear, (Wed Oct 31, 8:51 am)
Re: cpio command not found, Karl , (Wed Oct 31, 9:30 am)
Re: cpio command not found, Erik Mouw, (Wed Oct 31, 10:06 am)
Re: cpio command not found, Mike Hommey, (Wed Oct 31, 3:48 pm)
Re: cpio command not found, Johannes Schindelin, (Wed Oct 31, 10:20 am)
Re: [PATCH] Get rid of cpio in git-clone (was: Re: cpio comm..., Jeff King, (Wed Oct 31, 4:22 pm)
Re: cpio command not found, Bill Lear, (Wed Oct 31, 9:54 am)
Re: cpio command not found, Allan Wind, (Wed Oct 31, 9:58 am)
Re: cpio command not found, David Symonds, (Wed Oct 31, 10:00 am)