Refactor to do diff per commit and only show conflicted changes in merges.
[git-central.git] / make-cbas-client-hooks.sh
1 #!/bin/sh
2
3 cat >install-cbas-client-hooks.sh <<EOF
4 #!/bin/sh
5
6 rm .git/hooks/*
7
8 cat >.git/hooks/commit-msg <<'FOO'
9 $(cat client/commit-msg-trac)
10 FOO
11
12 cat >.git/hooks/post-checkout <<'FOO'
13 $(cat client/post-checkout-rebase)
14 FOO
15
16 EOF
17