Skip to content

Commit

Permalink
Clarification in tools/pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tovrstra committed Jun 3, 2016
1 parent 88968d3 commit a5b37f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ color_end="\033[0m"

# Check unwanted trailing whitespace or space/tab indents;
if [[ `git diff --cached --check` ]]; then
echo -e "${red}Commit failed: trailing whitespace, trailing empty lines, dos line endings${color_end}"
echo -e "${red}Commit failed: trailing whitespace, trailing empty lines, DOS/Windows line endings${color_end}"
git diff --cached --check
exit 1
fi
Expand Down

0 comments on commit a5b37f3

Please sign in to comment.