You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script works as intended in all posix compliant shells.
Additional context
This can be a blocker for contributors as they need to run git commands with --no-verify, which even then is not guaranteed to work e.g. for interactive rebase.
The text was updated successfully, but these errors were encountered:
Describe the bug
The pre-commit hook script uses
$> /dev/null
which is not POSIX compliant since it really intends> /dev/null 2>&1
.To Reproduce
Run the script where the standard command interpreter for the system is for example dash (e.g. Ubuntu):
Output is:
Expected behavior
The script works as intended in all posix compliant shells.
Additional context
This can be a blocker for contributors as they need to run git commands with
--no-verify
, which even then is not guaranteed to work e.g. for interactive rebase.The text was updated successfully, but these errors were encountered: