blob: f449fedda01797553ec00b3ff72244be5d6fd8ea (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
set -e
hardlinks=$(find -type f -not -links 1 | grep -v /.git/)
if [ -n "$hardlinks" ]; then
echo "warning: hardlinked files could cause problems with git:" >&2
echo "$hardlinks" >&2
fi
|