From: Christopher Faylor Date: Wed, 01 Mar 2006 15:50:53 GMT Subject: Re: [PATCH] Teach git-checkout-index to read filenames from stdin. Message-ID: <20060301155053.GC1010@trixie.casa.cgf.cx> In-Reply-To: <20060301024333.GB21186@spearce.org> On Tue, Feb 28, 2006 at 09:43:33PM -0500, Shawn Pearce wrote: >Since git-checkout-index is often used from scripts which may have a >stream of filenames they wish to checkout it is more convenient to use >--stdin than xargs. On platforms where fork performance is currently >sub-optimal and the length of a command line is limited (*cough* Cygwin >*cough*) AFAIK, the length of the command line for cygwin apps is very large -- if you're using recent versions of Cygwin. I believe that it is longer than the linux default. We bypass the Windows mechanism for setting the command line when a cygwin program starts a cygwin program. For native Windows programs, the command line length is ~32K but I don't think that git uses any native Windows programs, does it? cgf