diff --git a/diff-sha.sh b/diff-sha.sh index 151e28f8f74..1aad74d5948 100644 --- a/diff-sha.sh +++ b/diff-sha.sh @@ -36,7 +36,6 @@ git rev-parse --quiet --verify "$CURRENT_SHA^{commit}" 1>/dev/null 2>&1 && exit_ if [[ $exit_status -ne 0 ]]; then echo "::error::Unable to locate the current sha: $CURRENT_SHA" - git --version echo "::error::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage" exit 1 else