1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 16:01:18 +01:00

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

dist/tools/whitespacecheck: Do not redirect stdout.
This commit is contained in:
Joakim Gebart 2015-03-17 09:02:11 +01:00
commit 2826554723

View File

@ -27,7 +27,7 @@ if [ -z "${BRANCH}" ]; then
BRANCH=$(git rev-list HEAD | tail -n 1)
fi
git diff --check $(git merge-base ${BRANCH} HEAD) > /dev/null
git diff --check $(git merge-base ${BRANCH} HEAD)
if [ $? -gt 0 ]
then
echo "ERROR: This change introduces new whitespace errors"