projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a32518b
)
Add more hook stubs for future use
author
Tim Otten
<totten@civicrm.org>
Mon, 11 Mar 2013 01:50:20 +0000
(21:50 -0400)
committer
Tim Otten
<totten@civicrm.org>
Mon, 11 Mar 2013 01:50:20 +0000
(21:50 -0400)
bin/gitify
patch
|
blob
|
blame
|
history
diff --git
a/bin/gitify
b/bin/gitify
index 74b17d89e9f77fdb4b21ad0590f02b79cd3bd86d..5e8478aa5c35174ea8628b4d8a46b2327bf6ad34 100755
(executable)
--- a/
bin/gitify
+++ b/
bin/gitify
@@
-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