summaryrefslogtreecommitdiff
path: root/pre-commit.d/10warn-special
blob: 92d1d3dabfd959d8c5335ba4bb4cd360a1cd4606 (plain)
1
2
3
4
5
6
7
#!/bin/sh
set -e
special=$(find -not -type d -not -type f -not -type l | grep -v /.git/)
if [ -n "$special" ]; then
	echo "warning: special files could cause problems with git:" >&2
	echo "$special" >&2
fi