summaryrefslogtreecommitdiff
path: root/hg/pre-commit.d/20warn-special-file
diff options
context:
space:
mode:
authorMathieu Clabaut <mathieu.clabaut@gmail.com>2007-12-21 15:47:30 -0600
committerJoey Hess <joey@kodama.kitenet.net>2008-01-03 19:53:46 -0500
commit83d1b75cabbd594019ea6fb0395c4d27e38d8aa3 (patch)
tree3b2ca170a4b6ce3fb06b241130cbbf1c19f63135 /hg/pre-commit.d/20warn-special-file
parentc65ad8cba4ebf8eb7625b4e0801a6c68125384ac (diff)
pre-commit.d : Translation into mercurial idiom
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