git.samba.org
/
jelmer
/
etckeeper.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implemented the pre-commit hook
[jelmer/etckeeper.git]
/
pre-commit.d
/
10warn-special-file
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 "etckeeper warning: special files could cause problems with git:" >&2
6
echo "$special" >&2
7
fi