summaryrefslogtreecommitdiff
path: root/unclean.d/50test
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-15 14:25:53 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-15 14:25:53 -0500
commiteaf1ebf3140d48e1de2540101ebd8bee255bff17 (patch)
treeb7949ddbdf28017d7a54220199025fa151521201 /unclean.d/50test
parentbd59584ae2138c4294d0993aa925f32900872c03 (diff)
* Use git status instead of git-status (missed this one before).
Diffstat (limited to 'unclean.d/50test')
-rwxr-xr-xunclean.d/50test2
1 files changed, 1 insertions, 1 deletions
diff --git a/unclean.d/50test b/unclean.d/50test
index 0495815..409d674 100755
--- a/unclean.d/50test
+++ b/unclean.d/50test
@@ -2,7 +2,7 @@
set -e
if [ "$VCS" = git ]; then
- [ -d .git ] && ! LANG=C git-status 2>&1 | grep -q "working directory clean"
+ [ -d .git ] && ! LANG=C git status 2>&1 | grep -q "working directory clean"
elif [ "$VCS" = hg ]; then
[ -d .hg ] && ! hg status 2>&1 | wc -l | grep -q "^0$"
fi