git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Teach git-checkout-index to read filenames from stdin.

From
CFChristopher Faylor <me@cgf.cx>
Date
Mar 1, 2006, 15:50 UTC
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:
Show 5 quoted lines
>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
Previous: Shawn PearceNext: Shawn Pearce
Message 2 of 5 in “Teach git-checkout-index to read filenames from stdin.”
  1. Teach git-checkout-index to read filenames from stdin.Shawn Pearce, Mar 1, 2006
  2. Christopher FaylorMar 1, 2006
  3. Shawn PearceMar 1, 2006
  4. Alex RiesenMar 2, 2006
  5. Alex RiesenMar 2, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.