We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a27f7c commit 2592fcbCopy full SHA for 2592fcb
Makefile
@@ -324,5 +324,8 @@ clean-stm:
324
325
.PHONY: fetch-submodules
326
fetch-submodules:
327
- git submodule update --init -N --depth 1
+ # This update will fail because the commits we need aren't the latest on the
328
+ # branch. We can ignore that though because we fix it with the second command.
329
+ # (Only works for git servers that allow sha fetches.)
330
+ git submodule update --init -N --depth 1 || true
331
git submodule foreach 'git fetch --tags --depth 1 origin $$sha1 && git checkout -q $$sha1'
0 commit comments