diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-07-17 18:47:57 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-07-17 18:47:57 -0400 |
commit | 85fbaef5d42dec91b77b4520fce5b4e83af7945c (patch) | |
tree | 2d47e770c41b0389ca7b945992e53bbec5738fa5 | |
parent | 22d8afed758dc5de0b980ddb078a63411c501f4e (diff) |
remove dead code
-rwxr-xr-x | pre-commit.d/30store-metadata | 13 |
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 ;; |