summaryrefslogtreecommitdiff
path: root/git-setup
blob: e968cf52ad23f2a29d35bfa62254d60b76164b54 (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 -sf bin/post-commit .git/hooks/post-commit
fi