Remove now obsolete precommit script for bzr.
[jelmer/etckeeper.git] / pre-commit.d / 20warn-special-file
1 #!/bin/sh
2 set -e
3
4 if [ "$VCS" = git ] || [ "$VCS" = hg ] || [ "$VCS" = bzr ]; then
5         special=$(find -not -type d -not -type f -not -type l | grep -v /.git/ | grep -v /.hg/ | grep -v /.bzr/) || true
6         if [ -n "$special" ]; then
7                 echo "etckeeper warning: special files could cause problems with $VCS:" >&2
8                 echo "$special" >&2
9         fi
10 fi
11
12 true