--- /dev/null
+#!/bin/sh
+set -e
+metastore --save --mtime
--- /dev/null
+#!/bin/sh
+set -e
+empty=$(find -type f -empty | grep -v /.git/)
+if [ -n "$empty" ]; then
+ echo "warning: empty directories, not tracked by git:" >&2
+ echo "$empty" >&2
+fi
--- /dev/null
+#!/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
--- /dev/null
+#!/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