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

Re: [PATCH] Fix git-p4 on Windows to not use the Posix sysconf

From
Alex Riesen <raa.lkml@gmail.com>
Date
Jul 13, 2007, 13:03 UTC
Message-ID
<81b0412b0707130603q69857564i1ba418b74397a33d@mail.gmail.com>
In-Reply-To
<46977660.7070207@trolltech.com>
On 7/13/07, Marius Storm-Olsen <marius@trolltech.com> wrote:
>      argmax = min(4000, os.sysconf('SC_ARG_MAX'))

I wonder why the code in question does not use "-x"? I use it git-p4-import and haven't seen the limit yet. I.e.:

   $ ls |p4 -x - print -q
   $ p4 help usage
   ...
   The -x flag instructs p4 to read arguments, one per line, from the
   named file.  If the file is named '-', then standard input is read.
   ...
Previous: Marius Storm-OlsenNext: Simon Hausmann
Message 2 of 8 in “Fix git-p4 on Windows to not use the Posix sysconf”
  1. Fix git-p4 on Windows to not use the Posix sysconfMarius Storm-Olsen, Jul 13, 2007
  2. Alex RiesenJul 13, 2007
  3. Simon HausmannJul 13, 2007
  4. Shawn O. PearceJul 15, 2007
  5. Junio C HamanoJul 15, 2007
  6. Shawn O. PearceJul 16, 2007
  7. Junio C HamanoJul 16, 2007
  8. Simon HausmannJul 16, 2007

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.