-
Josip Sokcevic authored
git cl presubmit has --all option which marks all files as modified. However, that doesn't work well with SCM diff. That is, git diff may not contain affected file. Instead of throwing an exception in such case, just return no diff. R=gavinmak@google.com Fixed: 808346 Change-Id: Ie1d534b8eebc84bc5206eba7db8057829390fbec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3485501 Auto-Submit: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
c1ab7349