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:
commit
2826554723
2
dist/tools/whitespacecheck/check.sh
vendored
2
dist/tools/whitespacecheck/check.sh
vendored
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user