From f82ec165ae0f3610a32fdb0d20020450396b04a2 Mon Sep 17 00:00:00 2001 From: andoriyaprashant Date: Wed, 29 May 2024 13:57:43 +0530 Subject: [PATCH] Ensure pre-commit hook script is executable Signed-off-by: andoriyaprashant --- .pre-commit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pre-commit b/.pre-commit index 2c0996ee..e7c979dc 100644 --- a/.pre-commit +++ b/.pre-commit @@ -1,6 +1,9 @@ #!/bin/bash - # If there are whitespace errors, print the offending file names and fail. +# Give execute permission to the pre-commit hook script +chmod +x "$0" + +# If there are whitespace errors, print the offending file names and fail. # git diff-index --check --cached $against -- # Execute steps extracted from GitHub Actions