From: Alex Riesen Date: Mon, 17 Oct 2005 08:40:30 GMT Subject: Re: cygwin: t3200-branch.sh fails with "List form of pipe open not implemented at -e line 22." Message-ID: <81b0412b0510170140r6d5c5f23g87d01ff6cbd0d02e@mail.gmail.com> In-Reply-To: <7vbr1peweu.fsf@assigned-by-dhcp.cox.net> On 10/16/05, Junio C Hamano wrote: > Alex Riesen 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).