mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
GitChange uses 'scm.GIT.ListSubmodules' to filter out files under repo root that belong to a submodule. ProvidedDiffChange does not use this so doesn't filter out submoduled files. 'scm.GIT.ListSubmodules' just reads '.gitmodules' at repo root and can be run outside a git workspace. Use this to provide useful submodule info for Change/ProvidedDiffChange. Bug: b/333744051 Change-Id: Idaead11c69681e86276a29b0dc58090e7c4ec2c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5466527 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Gavin Mak <gavinmak@google.com>
89 KiB
Executable File
89 KiB
Executable File