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
Simon Hausmann <simon@lst.de>
Date
Jul 13, 2007, 13:33 UTC
Message-ID
<200707131533.55544.simon@lst.de>
In-Reply-To
<81b0412b0707130603q69857564i1ba418b74397a33d@mail.gmail.com>
On Friday 13 July 2007 15:03:51 Alex Riesen wrote:
Show 13 quoted lines
> 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.
>    ...
Good idea!

I still think the patch makes sense as stop-gap for 1.5.3 though, because without it git-p4 doesn't work at all on Windows.

Simon
Previous: Alex RiesenNext: Shawn O. Pearce
Message 3 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.