We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a88f14 + bd70bc1 commit 08792deCopy full SHA for 08792de
pre_commit_hooks/check_shebang_scripts_are_executable.py
@@ -34,6 +34,8 @@ def _message(path: str) -> None:
34
f'{path}: has a shebang but is not marked executable!\n'
35
f' If it is supposed to be executable, try: '
36
f'`chmod +x {shlex.quote(path)}`\n'
37
+ f' If on Windows, you may also need to: '
38
+ f'`git add --chmod=+x {shlex.quote(path)}`\n'
39
f' If it not supposed to be executable, double-check its shebang '
40
f'is wanted.\n',
41
file=sys.stderr,
0 commit comments