diff options
Diffstat (limited to 'scripts/pre-commit')
-rwxr-xr-x | scripts/pre-commit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/pre-commit b/scripts/pre-commit index b75ea9f..8a98a0e 100755 --- a/scripts/pre-commit +++ b/scripts/pre-commit @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -o errexit -o nounset -o pipefail +shopt -s inherit_errexit lastpipe if ! command -v git-clang-format &> /dev/null; then echo "Please make sure git-clang-format is available." >&2 |