3 cd ~/local/gitolite-hooks
5 HOOK_DIR=~/.gitolite/hooks/common
11 if [ "$x" = "check-deploy" ]; then
13 elif [ "$x" = "README.md" ]; then
16 if [ ! -f $HOOK_DIR/$x ]; then
17 echo "$x doesn't exist in hook dir $HOOK_DIR"
20 if ! cmp $x $HOOK_DIR/$x; then
21 echo "$x differs from $HOOK_DIR/$x"