Re: [PATCH] cvsimport-in-Perl: Limit the number of arguments to git-update-cache
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Jun 30, 2005, 18:02 UTC
- Message-ID
- <20050630180224.GW10850@kiste.smurf.noris.de>
- In-Reply-To
- <Pine.LNX.4.63.0506301314280.1667@localhost.localdomain>
Hi,
Nicolas Pitre:
Show 6 quoted lines
> That example should be: > > write( "| xargs git-update-cache --add --", @new) > > of course. >
Actually, 'local $\ = "\0";' and 'xargs -0', which is roughly the point where doing it all in Perl starts being more readable. ;-)
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
The only secure computer is one that's unplugged, locked in a safe,
and buried 20 feet under the ground in a secret location... and I'm
not even too sure about that one.
-- Dennis Huges, FBI.