Skip CheckForCommitObjects if not git change
The check relies on `git ls-tree` which is unavailable for non-git workspaces. Bug: 333744051 Change-Id: Ib9151a283c3bf543390f2cf06e0ce213051fb509 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5503095 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Gavin Mak <gavinmak@google.com>changes/95/5503095/3
parent
bd68c9d2aa
commit
e75b940aea
Loading…
Reference in New Issue