does not seem to work right on windows
i am dealing with a primarily linux / python project but on a windows machine.
i have set git config core.filemode false
i created a new file and stage and i verify that filemode is 644:
>git ls-files -s newfile.py
100644 3edd36f71bf2081c70a0eaf39dec6980d0a9f791 0 newfile.py
but hook still fails
hookid: check-executables-have-shebangs
newfile.py: marked executable but has no (or invalid) shebang!
If it isn't supposed to be executable, try: chmod -x newfile.py
If it is supposed to be executable, double-check its shebang.
why is this file causing error?
does not seem to work right on windows
i am dealing with a primarily linux / python project but on a windows machine.
i have set
git config core.filemode falsei created a new file and stage and i verify that filemode is 644:
but hook still fails
why is this file causing error?