pre-commit: do not ignore submodule when running diff-index
Without this line, if the git config specifies to ignore submodule change (what happned in the associated bug), this script is useless because the command will never return gitlink change R=sokcevic Bug: 1496925 Change-Id: I6536b95502e708e44d6fd3e4909fd30eac8c7c98 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4995364 Auto-Submit: Yiwei Zhang <yiwzhang@google.com> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>changes/64/4995364/3
parent
9ed72f91a9
commit
03a1a8936e
Loading…
Reference in New Issue