Add a pan-project presubmit check for commits in tree
It's possible to add commit objects to the tree, and this can cause some confusion for git's tools - if this happens to overlap with an actual folder or a gclient-imported repo, the tree will be dirty. This change finds this issue by scanning the tree and looking for a commit object there. Bug: 869594 Change-Id: Ia1f1fb22ab8f7ac1eed7b32dedad5c1296b1d67b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1842637Reviewed-by: Dirk Pranke <dpranke@chromium.org> Commit-Queue: Derek Morris <demorri@microsoft.com>
Showing
Please
register
or
sign in
to comment