summaryrefslogtreecommitdiff
path: root/pre-commit.d
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 16:25:21 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 16:25:21 -0500
commit357a708e613c83ae35faaa70514a8f4e1179079b (patch)
treea7687c896efe9b01a473705faa24afd8d004dbdb /pre-commit.d
parentab6f7188c53c6580c64702e1cebb5326e998e225 (diff)
implemented pre-apt checks
other development too..
Diffstat (limited to 'pre-commit.d')
-rwxr-xr-xpre-commit.d/10warn-empty-directory (renamed from pre-commit.d/10warn-empty)2
-rwxr-xr-xpre-commit.d/10warn-hardlinks2
-rwxr-xr-xpre-commit.d/10warn-special-file (renamed from pre-commit.d/10warn-special)2
3 files changed, 3 insertions, 3 deletions
diff --git a/pre-commit.d/10warn-empty b/pre-commit.d/10warn-empty-directory
index 8dcb357..eed41ae 100755
--- a/pre-commit.d/10warn-empty
+++ b/pre-commit.d/10warn-empty-directory
@@ -2,6 +2,6 @@
set -e
empty=$(find -type f -empty | grep -v /.git/)
if [ -n "$empty" ]; then
- echo "warning: empty directories, not tracked by git:" >&2
+ echo "etckeeper warning: empty directories, not tracked by git:" >&2
echo "$empty" >&2
fi
diff --git a/pre-commit.d/10warn-hardlinks b/pre-commit.d/10warn-hardlinks
index f449fed..29f007b 100755
--- a/pre-commit.d/10warn-hardlinks
+++ b/pre-commit.d/10warn-hardlinks
@@ -2,6 +2,6 @@
set -e
hardlinks=$(find -type f -not -links 1 | grep -v /.git/)
if [ -n "$hardlinks" ]; then
- echo "warning: hardlinked files could cause problems with git:" >&2
+ echo "etckeeper warning: hardlinked files could cause problems with git:" >&2
echo "$hardlinks" >&2
fi
diff --git a/pre-commit.d/10warn-special b/pre-commit.d/10warn-special-file
index 92d1d3d..aa5c683 100755
--- a/pre-commit.d/10warn-special
+++ b/pre-commit.d/10warn-special-file
@@ -2,6 +2,6 @@
set -e
special=$(find -not -type d -not -type f -not -type l | grep -v /.git/)
if [ -n "$special" ]; then
- echo "warning: special files could cause problems with git:" >&2
+ echo "etckeeper warning: special files could cause problems with git:" >&2
echo "$special" >&2
fi