Thread (49 messages) flat view 49 messages, 7 authors, 2016-06-15

Re: [PATCH] cvsimport-in-Perl: Limit the number of arguments to git-update-cache

From: Matthias Urlichs <hidden>
Date: 2016-06-15 22:42:01

Hi,

Nicolas Pitre:
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.

Attachments

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