pre-commit-hooks icon indicating copy to clipboard operation
pre-commit-hooks copied to clipboard

`check-shebang-scripts-are-executable` Assumes Git Repo

Open Kurt-von-Laven opened this issue 3 years ago • 0 comments

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.

Kurt-von-Laven avatar Apr 10 '22 20:04 Kurt-von-Laven