github.com/jshiv/can-go@v0.2.1-0.20210224011015-069e90e90bdf/tools/git-verify-nodiff/git-verify-nodiff.bash (about) 1 #!/bin/bash 2 3 set -euo pipefail 4 5 if [[ -n $(git status --porcelain) ]]; then 6 echo "Staging area is dirty, please add all files created by the build to .gitignore" 7 git diff --patch 8 exit 1 9 fi