Update to detect the uncommited changes properly

This commit is contained in:
Akira TAGOH 2012-03-09 22:24:18 +09:00
parent 78d75c003c
commit d6de535192
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
if git status -a > /dev/null; then
if [ "x`git status -s -uno`" != "x" ]; then
echo 'Uncommited changes in repository' 1>&2
exit 1
fi