Merge branch 'bugfix/git_porcelain_arg' into 'master'

make: remove version parameter from git status porcelain option

Version parameter was added in git 2.11, while default git on macOS is
currently 2.10. According to the latest git docs, if the version
parameter is not provided, it defaults to ‘v1’, so removing it doesn’t
change the format.

See merge request !616
pull/489/head
Ivan Grokhotkov 2017-03-29 17:37:34 +08:00
commit 0070612296
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -405,7 +405,7 @@ clean: config-clean
check-submodules:
# Dump the git status for the whole working copy once, then grep it for each submodule. This saves a lot of time on Windows.
GIT_STATUS := $(shell cd ${IDF_PATH} && git status --porcelain=v1 --ignore-submodules=dirty)
GIT_STATUS := $(shell cd ${IDF_PATH} && git status --porcelain --ignore-submodules=dirty)
# Generate a target to check this submodule
# $(1) - submodule directory, relative to IDF_PATH