Add AffectedSubmodules() to presubmit change.
+ Change scm GetAllFiles back to returning all files + should be safe to do since it's only used by presubmit code + add ignore_submodules option to CaptureStatus + It's used by other parts of depot_tools code + Add AffectedSubmodules to return submodules only + AffectedFiles still only returns non-submodule files. Bug: 1475770 Change-Id: I457ad96099fb20eff4cc1a4fc84f59e7ae707abe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5216005 Auto-Submit: Joanna Wang <jojwang@chromium.org> Commit-Queue: Joanna Wang <jojwang@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>changes/05/5216005/7
parent
9a16009d09
commit
46cb7d0aca
Loading…
Reference in New Issue