summaryrefslogtreecommitdiff
path: root/git-setup
blob: 38edaffc5e0c79ac42514345e2e13b63c91331f2 (plain)
1
2
3
4
5
6
#!/usr/bin/env bash
set -e
cd "$(dirname -- "$(readlink -f -- "$0")")"
if ! [[ -x .git/hooks/post-commit ]]; then
	ln -srf bin/post-commit.githook .git/hooks/post-commit
fi