xref: /aosp_15_r20/external/nullaway/.buildscript/check_git_clean.sh (revision f50c306653bc89b8210ce6c9e0b0b44fc134bc03)
1#!/bin/sh -eux
2
3if [ -n "$(git status --porcelain)" ]; then
4  echo 'warning: source tree contains uncommitted changes; .gitignore patterns may need to be fixed'
5  git status
6  false
7fi
8