mirror of
https://github.com/xodio/xod.git
synced 2026-03-03 07:24:03 +01:00
9 lines
198 B
Bash
Executable File
9 lines
198 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
DIFF_COUNT=$(git status --porcelain | wc -l)
|
|
if [[ "$DIFF_COUNT" != "0" ]]; then
|
|
echo "Respository unexpected changes:"
|
|
git status --short
|
|
exit $DIFF_COUNT
|
|
fi
|