From: Arun Raghavan Date: Wed, 11 Jan 2017 11:59:33 +0000 (+0530) Subject: git-update: Update submodules too X-Git-Tag: 1.19.3~481^2~382 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=225419e030dfa496572fb87d8e0da33df6232956;p=platform%2Fupstream%2Fgstreamer.git git-update: Update submodules too More correct than not doing it, and prevents careless people from mistakenly pushing changes to submodules. --- diff --git a/git-update b/git-update index 3a4ea2a..97356b9 100755 --- a/git-update +++ b/git-update @@ -49,6 +49,7 @@ def update_repo(repo_name, repo_dir, revision, no_interaction, recurse_i=0): git("checkout", revision, repository_path=repo_dir) else: git("pull", "--rebase", repository_path=repo_dir) + git("submodule", "update", repository_path=repo_dir) except Exception as e: out = getattr(e, "output", b"").decode() if not no_interaction: