Web lists-archives.com

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




Hi Brandon,

On Wed, 19 Apr 2017, Brandon Williams wrote:

> Add a test to 't0061-run-command.sh' to ensure that run_command can
> continue to execute scripts which don't include a '#!' line.
> 
> Signed-off-by: Brandon Williams <bmwill@xxxxxxxxxx>

Please add something like this to the commit message lest future readers
wonder where that !MINGW comes from:

	On Windows, shell scripts are not natively executable. Git has a
	workaround to execute them, looking for the shebang line. Shell
	scripts without a shebang line will simply not execute on Windows.
	Therefore, disable the new test on Windows.

Thanks,
Dscho