Re: cygwin: t3200-branch.sh fails with "List form of pipe open not implemented at -e line 22."
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 17, 2005, 08:40 UTC
- Message-ID
- <81b0412b0510170140r6d5c5f23g87d01ff6cbd0d02e@mail.gmail.com>
- In-Reply-To
- <7vbr1peweu.fsf@assigned-by-dhcp.cox.net>
On 10/16/05, Junio C Hamano <junkio@cox.net> wrote:
Show 16 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes: > > >> >The message comes from one of the hooks, which are executed even > >> >though they never meant to, because cygwin apparently uses file > >> >content or name to detect executability (on FAT). > > Is this one of the hooks we ship as examples? If so, that > means worse brokenness than just test failing. It means that > the hook is not usable in your environment. > > I presume it is this line in pre-commit sample hook: > > open $fh, "-|", qw(git-diff-index -p -M --cached HEAD); > > Is Perl on Cygwin incapable of handle this in general, or is it > just what is on your machine being behind?
ActiveState's Windows port of Perl 5.8.6.
$ perl -e 'open $fh, "-|", qw(git-diff-index -p -M --cached HEAD)' List form of pipe open not implemented at -e line 1.
I think it is not implemented because of Win32 lacking fork(2).