summaryrefslogtreecommitdiff
path: root/pre-commit.d/30store-metadata
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-07-17 18:47:57 -0400
committerJoey Hess <joeyh@joeyh.name>2016-07-17 18:47:57 -0400
commit85fbaef5d42dec91b77b4520fce5b4e83af7945c (patch)
tree2d47e770c41b0389ca7b945992e53bbec5738fa5 /pre-commit.d/30store-metadata
parent22d8afed758dc5de0b980ddb078a63411c501f4e (diff)
remove dead code
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 ;;