make check_format also check git whitespace (#5503)

-fixes #5484
This commit is contained in:
Daniel Agar 2016-09-20 12:45:42 -04:00 committed by GitHub
parent 392391e8df
commit c4b9b05af9
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ quick_check: check_posix_sitl_default check_px4fmu-v4_default check_tests check_
check_format: check_format:
$(call colorecho,"Checking formatting with astyle") $(call colorecho,"Checking formatting with astyle")
@./Tools/check_code_style_all.sh @./Tools/check_code_style_all.sh
@git diff --check
format: format:
$(call colorecho,"Formatting with astyle") $(call colorecho,"Formatting with astyle")