Update to detect the uncommited changes properly
This commit is contained in:
parent
78d75c003c
commit
d6de535192
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue