fix: git diff-index doesn't actually check the contents but does check timestamps

pull/24376/head
Carol (Nichols || Goulding) 2021-04-08 14:24:44 -04:00 committed by kodiakhq[bot]
parent 9c4b052ac8
commit 902bdec5e5
1 changed files with 1 additions and 3 deletions

View File

@ -17,9 +17,7 @@ chmod +x bazel-4.0.0-installer-linux-x86_64.sh
echo "Checking for uncommitted changes..."
if ! git diff-index --quiet HEAD --; then
echo "git diff-index HEAD found:"
git diff-index HEAD --
if ! git diff --quiet HEAD --; then
echo "git diff found:"
git diff HEAD
echo "************************************************************"