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

Re: [PATCH] test-lib.sh - cygwin does not have usable FIFOs

From
Mark Levedahl <mlevedahl@gmail.com>
Date
Jul 8, 2013, 22:18 UTC
Message-ID
<51DB3A9F.6020504@gmail.com>
In-Reply-To
<20130707005558.GI30132@google.com>
On 07/06/2013 08:55 PM, Jonathan Nieder wrote:
Show 16 quoted lines
> Mark Levedahl wrote:
>
>> Do not use FIFOs on cygwin, they do not work. Cygwin includes
>> coreutils, so has mkfifo, and that command does something. However,
>> the resultant named pipe is known (on the Cygwin mailing list at
>> least) to not work correctly.
> Hm.  How would you recommend going about writing a script that takes
> output from a command, transforms it, and then feeds it back into
> that command's input?  Are sockets a more reliable way to do this kind
> of IPC on Cygwin?
>
> See reinit_git and try_dump from t9010-svn-fe.sh for context.
>
> Thanks,
> Jonathan
>

On the one hand, sockets work fine on cygwin so that path would probably work.

However, I don't understand why git would need to consume its own output 
- If named pipes are really needed to use git-svn because git-svn 
depends upon git feeding the same git process, then that package should 
not be available on cygwin or any other platform that does not support 
fifos. If not, then I don't think the test suite should require fifos or 
any other construct with the same git process feeding itself either, it 
just blurs the line about what is actually being tested.
Mark
Previous: Jonathan NiederNext: Jonathan Nieder
Message 5 of 7 in “test-lib.sh - cygwin does not have usable FIFOs”
  1. test-lib.sh - cygwin does not have usable FIFOsMark Levedahl, Jul 4, 2013
  2. Jonathan NiederJul 7, 2013
  3. Torsten BögershausenJul 7, 2013
  4. Jonathan NiederJul 14, 2013
  5. Mark LevedahlJul 8, 2013
  6. Jonathan NiederJul 14, 2013
  7. Mark LevedahlJul 14, 2013

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.