From eaf1ebf3140d48e1de2540101ebd8bee255bff17 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 15 Jan 2008 14:25:53 -0500 Subject: * Use git status instead of git-status (missed this one before). --- debian/changelog | 1 + unclean.d/50test | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4a2de51..0769d9a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ etckeeper (0.10) UNRELEASED; urgency=low * Don't commit in post-install.d if there are no uncommitted changes. * Add preinst code to remove old post-install.d scripts. * German debconf translation. Closes: #460940, #458751 + * Use git status instead of git-status (missed this one before). -- Joey Hess Tue, 15 Jan 2008 13:20:29 -0500 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 -- cgit v1.2.3