show files that prevent release

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-09-04 23:11:41 +02:00
parent c074d377aa
commit 5f2aff73dc

View file

@ -199,7 +199,7 @@ eof
"$0" version
# Ensure the git status is clean, else abort
if ! git diff-index --name-only --quiet HEAD >/dev/null; then
if ! git diff-index --name-only --exit-code HEAD ; then
echo "Unclean tree, aborting"
exit 1
fi