From a0ea4aa6051fb9d2d54e7e3fab0cf1f52c7f496a Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Wed, 14 Feb 2018 16:13:11 -0500 Subject: [PATCH] Git submodule update after fetching patch For projects that have submodules we need to call `git submodule update` after fetching the patch so that submodule updates caused by the patch are pulled in. Running that command on a repo that does not contain submodules returns cleanly as a noop. Change-Id: Iec76e4c42d9e0132571af477f3ae770e5e360781 Signed-off-by: Thanh Ha --- shell/rtd-verify.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 2074ecaf..bddc23bd 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -20,6 +20,7 @@ if [ "$GERRIT_PROJECT" != "$PROJECT" ]; then fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD +git submodule update echo "---> Generating docs" cd "$WORKSPACE" -- 2.16.6