From: Johannes Schindelin Date: Mon, 08 Feb 2016 19:31:54 GMT Subject: Re: [PATCH] t9100: fix breakage when SHELL_PATH is not /bin/sh Message-ID: In-Reply-To: <20160208163700.GA22929@sigill.intra.peff.net> Hi, On Mon, 8 Feb 2016, Jeff King wrote: > Assuming your patch works on Windows If it re-introduces that chmod +x, it won't. Please note that my *original* patch actually only guarded the chmod +x, but Junio suggested switching to write_script and since it passed the test suite here, I though it would be safe. I still think write_script is the better alternative. So why not just prefix it with `SHELL_PATH=/bin/sh`? -- snipsnap -- t a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh index 56acc1e..6ad8537 100755 --- a/t/t9100-git-svn-basic.sh +++ b/t/t9100-git-svn-basic.sh @@ -30,7 +30,7 @@ test_expect_success \ echo "deep dir" >dir/a/b/c/d/e/file && mkdir bar && echo "zzz" >bar/zzz && - write_script exec.sh /dev/null ) && rm -rf import &&