summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xunclean.d/50test2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index d582db7..8041a0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+etckeeper (0.62) UNRELEASED; urgency=low
+
+ * Autocommit git staged files. Closes: #662614
+
+ -- Joey Hess <joeyh@debian.org> Mon, 05 Mar 2012 10:41:15 -0400
+
etckeeper (0.61) unstable; urgency=low
* Fix up botched git-rm conffile removal from 0.58.
diff --git a/unclean.d/50test b/unclean.d/50test
index 84e6be7..173d6e2 100755
--- a/unclean.d/50test
+++ b/unclean.d/50test
@@ -2,7 +2,7 @@
set -e
if [ "$VCS" = git ]; then
- [ -d .git ] && [ -n "`git ls-files --modified --deleted --others --exclude-standard`" ]
+ [ -d .git ] && [ -n "`git status --porcelain`" ]
elif [ "$VCS" = hg ]; then
[ -d .hg ] && ! hg status 2>&1 | wc -l | grep -q "^0$"
elif [ "$VCS" = bzr ]; then