git: Make submodule check only needed modules
commit1a920d2b633e13df8961328b3b3e128989a34570
authorJuan Quintela <quintela@redhat.com>
Wed, 29 Jan 2020 10:21:13 +0000 (29 11:21 +0100)
committerJuan Quintela <quintela@redhat.com>
Thu, 13 Feb 2020 10:31:58 +0000 (13 11:31 +0100)
tree01efb09c61999f4eb4ce223346732f5a3b8767f5
parente022d47388e339d9287a17d8072d4c2e8a9a427e
git: Make submodule check only needed modules

If one is compiling more than one tree from the same source, it is
possible that they need different submodules.  Change the check to see
that all modules that we are interested in are updated, discarding the
ones that we don't care about.

Signed-off-by: Juan Quintela <quintela@redhat.com>
---

v1->v2:
patchw insists in not using modules
scripts/git-submodule.sh