android13/external/nullaway/.buildscript/check_git_clean.sh

6 lines
169 B
Bash
Executable File

if [ -n "$(git status --porcelain)" ]; then
echo 'warning: source tree contains uncommitted changes; .gitignore patterns may need to be fixed'
git status
false
fi