summaryrefslogtreecommitdiff
path: root/hg/pre-commit.d/20store-empty-directory
diff options
context:
space:
mode:
Diffstat (limited to 'hg/pre-commit.d/20store-empty-directory')
-rw-r--r--hg/pre-commit.d/20store-empty-directory2
1 files changed, 1 insertions, 1 deletions
diff --git a/hg/pre-commit.d/20store-empty-directory b/hg/pre-commit.d/20store-empty-directory
index e0f9538..2f127dd 100644
--- a/hg/pre-commit.d/20store-empty-directory
+++ b/hg/pre-commit.d/20store-empty-directory
@@ -13,7 +13,7 @@ find -type d -empty | grep -v /.git/ | sort |
if [ ! -e .etckeeper ] || ! cmp -s .etckeeper .etckeeper.new ; then
mv -f .etckeeper.new .etckeeper
- git add .etckeeper
+ hg add .etckeeper
else
rm -f .etckeeper.new
fi