From: Junio C Hamano Date: Mon, 08 Feb 2016 20:12:27 GMT Subject: Re: [PATCH] t9100: fix breakage when SHELL_PATH is not /bin/sh Message-ID: In-Reply-To: Johannes Schindelin writes: > write_script is a semantically unambiguous way to specify what we *want*. > And it would allow us to handle chmod specifically for Windows *in one > place only*. Correct. write_script, for the intended target of the helper, is a way to write a script that can later be invoked by the test with the name "$1". It is conceivable for write_script on UNIX to be writing into "$1" while Windows version to be writing into "$1.bat" and the script, i.e. the user of the write_script helper, to do this write_script foo <