`check-shebang-scripts-are-executable` Assumes Git Repo
Author: Kurt-von-LavenCreated Apr 10, 2022Updated Apr 10, 2022
`check-executables-have-shebangs` supports being run on files outside of a Git repository, so it seems natural for `check-shebang-scripts-are-executable` to do the same. I would guess it's also slightly faster to check executable bits through the file system when it can be trusted to track them properly.
Source: pre-commit/pre-commit-hooks