5 $(info make git_hooks: set up Git repository hooks)
7 puppet_parseonly = puppet parser validate
11 @if ! git config --get remote.origin.push '^HEAD$$' >/dev/null; then \
12 git config --add remote.origin.push HEAD; \
14 @if git config --get remote.origin.push '^refs/notes/audit:refs/notes/audit$$' >/dev/null; then \
15 git config --unset remote.origin.push refs/notes/audit:refs/notes/audit; \
17 @if git config --get branch.master.rebase true >/dev/null; then \
18 git config branch.master.rebase true; \
20 @ln -sf ../../tools/git_hooks/pre-commit .git/hooks/pre-commit
21 @$(RM) .git/hooks/post-commit
24 rsync -a tools/vim ~/.vim/