Skip to content

hooks: Fix shebang on pre-commit hook

The pre-commit hook uses features that are not defined in the POSIX shell, causing it to break on systems where sh does not support the extensions being used. This fixes the shebang so that it is correctly identified as a bash script.

While it would also be possible to rewrite the script to be portable, this seemed like the obvious fix given that it already depends on another bash script.

Merge request reports