Skip to content

Commit d7d0d35

Browse files
committed
update error message of pre-commit
1 parent e2ba0ca commit d7d0d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fi
4141
whitespace=$(git diff-index --check --cached $against --)
4242
echo "> Checking for whitespace errors."
4343
if [ "${whitespace}" != "" ]; then
44-
echo "Your staged changes contain whitespace errors, please fix before committing. Aborting."
44+
echo "Your staged changes contain whitespace errors, please fix before committing. (See them with 'git diff --check --cached'.) Aborting."
4545
exit 1
4646
fi
4747

0 commit comments

Comments
 (0)