logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

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

Subject: Re: [PATCH] cvsimport-in-Perl: Limit the number of arguments to git-update-cache
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@xxxxxxxxxxxxxx
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.

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>