summaryrefslogtreecommitdiff
path: root/hg/pre-commit.d/20warn-special-file
diff options
context:
space:
mode:
Diffstat (limited to 'hg/pre-commit.d/20warn-special-file')
-rw-r--r--hg/pre-commit.d/20warn-special-file4
1 files changed, 2 insertions, 2 deletions
diff --git a/hg/pre-commit.d/20warn-special-file b/hg/pre-commit.d/20warn-special-file
index cb4d019..d5d1d7f 100644
--- a/hg/pre-commit.d/20warn-special-file
+++ b/hg/pre-commit.d/20warn-special-file
@@ -1,8 +1,8 @@
#!/bin/sh
set -e
-special=$(find -not -type d -not -type f -not -type l | grep -v /.git/) || true
+special=$(find -not -type d -not -type f -not -type l | grep -v /.hg/) || true
if [ -n "$special" ]; then
- echo "etckeeper warning: special files could cause problems with git:" >&2
+ echo "etckeeper warning: special files could cause problems with mercurial:" >&2
echo "$special" >&2
fi