summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit.d/30store-metadata')
-rwxr-xr-xpre-commit.d/30store-metadata13
1 files changed, 0 insertions, 13 deletions
diff --git a/pre-commit.d/30store-metadata b/pre-commit.d/30store-metadata
index edec06b..2b77c8e 100755
--- a/pre-commit.d/30store-metadata
+++ b/pre-commit.d/30store-metadata
@@ -1,19 +1,6 @@
#!/bin/sh
set -e
-# Filters out UNKNOWN users and groups, prints a warning on stderr.
-filter_unknown() {
- CMD=$1
- while read line; do
- # if the first n chars of $line equal "$CMD UNKNOWN "...
- if [ "$(printf %.$((9+${#CMD}))s "$line")" = "$CMD UNKNOWN " ]; then
- echo Bad "$2" for "$line" >&2
- else
- echo "$line"
- fi
- done
-}
-
filter_ignore() {
case "$VCS" in
darcs) ignorefile=.darcsignore ;;