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