Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxx> writes: > A fix requires noting the new file execute permission in the > index with a "git update-index --chmod=+x", prior to the commit. > Add a function (note_chmod) which implements this idea, and > insert a call in each test that modifies the x permission. Thanks. I think you probably could even do > +note_chmod () { chmod "$1" "$2" > + if [ "$(git config --get core.filemode)" = false ] > + then > + git update-index --chmod=$1 $2 > + fi > + return 0 > +} - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html