update-common: add "git restore ."

This commit is contained in:
Ștefan Talpalaru 2020-05-20 15:25:46 +02:00
parent 9c2ef2c85d
commit 254f2379b6
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ update-common: | sanity-checks
# changing URLs in a submodule's submodule means we have to sync and update twice
git submodule sync --quiet --recursive
git submodule update --init --recursive
git submodule foreach --quiet 'git restore .'
rm -rf $(NIMBLE_DIR)
+ $(MAKE) --no-print-directory deps
ifeq ($(USE_SYSTEM_NIM), 0)