On 10/16/05, Junio C Hamano [off-list ref] wrote:
Alex Riesen [off-list ref] writes:
quoted
quoted
quoted
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).