[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: [PATCH] cvsimport-in-Perl: Limit the number of arguments to git-update-cache
From:       Matthias Urlichs <smurf () smurf ! noris ! de>
Date:       2005-06-30 18:02:24
Message-ID: 20050630180224.GW10850 () kiste ! smurf ! noris ! de
[Download RAW message or body]

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.

["signature.asc" (application/pgp-signature)]
-
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic