if["${BITCOIN_GENBUILD_NO_GIT}" !="1" -a -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/dev/null)"="true" -a "$(git status --porcelain -u no --ignored "$0"| cut -b1)" !="?"];then
if["${BITCOIN_GENBUILD_NO_GIT}" !="1" -a -e "$(which git 2>/dev/null)" -a "$(git rev-parse --is-inside-work-tree 2>/dev/null)"="true"]&& git_check_in_repo share/genbuild.sh;then
# clean 'dirty' status of touched files that haven't been modified
# clean 'dirty' status of touched files that haven't been modified