Skip to content
Snippets Groups Projects
Commit 28265547 authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

Merge pull request #2619 from gebart/pr/whitespacecheck-show

dist/tools/whitespacecheck: Do not redirect stdout.
parents dccd2ac4 ef6aaf60
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ if [ -z "${BRANCH}" ]; then ...@@ -27,7 +27,7 @@ if [ -z "${BRANCH}" ]; then
BRANCH=$(git rev-list HEAD | tail -n 1) BRANCH=$(git rev-list HEAD | tail -n 1)
fi fi
git diff --check $(git merge-base ${BRANCH} HEAD) > /dev/null git diff --check $(git merge-base ${BRANCH} HEAD)
if [ $? -gt 0 ] if [ $? -gt 0 ]
then then
echo "ERROR: This change introduces new whitespace errors" echo "ERROR: This change introduces new whitespace errors"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment