deliver hooks immediately after commit
Merge pull request #456 from compressed/send_hook_immediately

Deliver hooks immediately after commit