k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/jobs/e2e_node/crio/tree_status (about)

     1  #!/usr/bin/env bash
     2  set -e
     3  
     4  STATUS=$(git status --porcelain)
     5  if [[ -z $STATUS ]]; then
     6      echo "tree is clean"
     7  else
     8      echo "tree is dirty, please commit all changes"
     9      echo ""
    10      echo "$STATUS"
    11      git diff
    12      exit 1
    13  fi