Is there a way to automatically set the execution bit upon committing a new bash script from a Windows machine?
The manual way to do it is git update-index --chmod=+x myscript.sh - but this is typically only done postmortem after the build process fails on the linux box due to missing execute permission on the script.