Add custom serverside git hooks
authorThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Mon, 25 Jun 2012 18:25:09 +0000 (20:25 +0200)
committerThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Fri, 29 Jun 2012 07:51:57 +0000 (09:51 +0200)
commita7ff8e60d2546697577ccf4fd6e36913e0027609
treeaa351996805962f6e8d13024ff604a2ba9fcc547
parent1073131e8e3045915cb3b7c380df0a6ad16df69c
Add custom serverside git hooks

Custom pre-receive,post-receive,update hooks now included, see
the .sample files in /data/hooks. Shared by all repositories,
called after Gitorious has run its regular hooks. Enable them
by copying from {pre-receive,post-receive,update}.sample to
{pre-receive,post-receive,update}. Documentation and sample
debug code included in each sample file.
.gitignore
data/hooks/custom-post-receive.sample [new file with mode: 0755]
data/hooks/custom-pre-receive.sample [new file with mode: 0755]
data/hooks/custom-update.sample [new file with mode: 0755]
data/hooks/post-receive
data/hooks/pre-receive
data/hooks/update [changed mode: 0644->0755]