From a63fb8e0b02752ddfdc8aebeff95cf88a73c641e Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Mon, 19 Feb 2024 11:30:55 -0500 Subject: [PATCH] Improve err msg --- pre-commit-staged-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-commit-staged-check.sh b/pre-commit-staged-check.sh index 2e90285..e06e2ef 100755 --- a/pre-commit-staged-check.sh +++ b/pre-commit-staged-check.sh @@ -14,7 +14,7 @@ case $GIT_INDEX_FILE in echo "Error: Found both staged and unstaged changes when trying to commit with 'git commit -a'." echo "Do two seperate commits with, 'git commit -m ...' and 'git commit -a -m ...'" echo "Or 'git reset .' and then 'git commit -a -m ...' for a single commit" - echo "SKIP_GIT_HOOK_STAGED_CHECK=yes or --no-verify to skip check" + echo "Use SKIP_GIT_HOOK_STAGED_CHECK=Y or --no-verify to skip check" exit 1 fi ;;