Re: [PATCH v5 02/11] t0061: run_command executes scripts without a #! line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 19.04.2017 um 07:43 schrieb Johannes Sixt:
Am 19.04.2017 um 01:17 schrieb Brandon Williams:
Add a test to 't0061-run-command.sh' to ensure that run_command can
continue to execute scripts which don't include a '#!' line.

Why is this necessary? I am pretty certain that our emulation layer on
Windows can only run scripts with a shbang line.

Nevermind. It is a compatibility feature: People may have written their hooks and scripts without #!, and these must continue to work where they worked before.

Please protect the new test with !MINGW.

Thanks,
-- Hannes




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]