github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/.github/scripts/check-work-copy-equals-to-committed.sh (about) 1 #!/usr/bin/env bash 2 3 MESSAGE="$1" 4 5 CODE_DIFF="$(git diff)" 6 if [ -n "$CODE_DIFF" ]; then 7 echo "$MESSAGE" 8 echo 9 echo "$CODE_DIFF" 10 exit 1; 11 fi