From 85fbaef5d42dec91b77b4520fce5b4e83af7945c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 17 Jul 2016 18:47:57 -0400 Subject: remove dead code --- pre-commit.d/30store-metadata | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'pre-commit.d/30store-metadata') 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 ;; -- cgit v1.2.3