Add more hook stubs for future use
authorTim Otten <totten@civicrm.org>
Mon, 11 Mar 2013 01:50:20 +0000 (21:50 -0400)
committerTim Otten <totten@civicrm.org>
Mon, 11 Mar 2013 01:50:20 +0000 (21:50 -0400)
bin/gitify

index 74b17d89e9f77fdb4b21ad0590f02b79cd3bd86d..5e8478aa5c35174ea8628b4d8a46b2327bf6ad34 100755 (executable)
@@ -39,7 +39,7 @@ function do_hookify() {
   HOOK_DIR="$2"
   if [ -n "$CIVICRM_GIT_HOOKS" ]; then
     echo "[[Install recommended hooks ($TGT)]]"
-    for HOOK in commit-msg post-checkout post-merge pre-commit prepare-commit-msg ;do
+    for HOOK in commit-msg post-checkout post-merge pre-commit prepare-commit-msg post-commit pre-rebase post-rewrite ;do
           cat << TMPL > "$TGT/.git/hooks/$HOOK"
 #!/bin/bash
 if [ -f "\$GIT_DIR/${HOOK_DIR}/${HOOK}" ]; then