Configurable custom hooks
authorChristian Johansen <christian@gitorious.com>
Thu, 28 Feb 2013 14:08:20 +0000 (15:08 +0100)
committerChristian Johansen <christian@gitorious.com>
Thu, 28 Feb 2013 14:57:40 +0000 (15:57 +0100)
commite41ff9cdfaace14c6391c9a5a5757efa8903f937
tree5e91ab48cad6af7cf6d93996e5b8c729f2c7c6db
parentf3f8dbedb4c5dd82b3a2cd8ac034b8042b37f1f1
Configurable custom hooks

  - Read custom hook script names from the configuration file
  - Refactor custom hooks to reduce duplication
data/hooks/post-receive
data/hooks/pre-receive
data/hooks/pre_receive_guard.rb [deleted file]
data/hooks/update
lib/gitorious/custom_hook.rb [new file with mode: 0644]
lib/gitorious/ssh/pre_receive_guard.rb [new file with mode: 0644]