summaryrefslogtreecommitdiff
path: root/git-status-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-status-script')
-rwxr-xr-xgit-status-script6
1 files changed, 3 insertions, 3 deletions
diff --git a/git-status-script b/git-status-script
index 2b029545de..ee8f7061ea 100755
--- a/git-status-script
+++ b/git-status-script
@@ -77,9 +77,9 @@ then
#'
fi
-if [ "$committable" == "0" ]
-then
+case "$committable" in
+0)
echo "nothing to commit"
exit 1
-fi
+esac
exit 0