git: update hook, fix post-receive-email
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 9 Jun 2011 14:29:32 +0000 (17:29 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 9 Jun 2011 14:39:23 +0000 (17:39 +0300)
commit6345a76292d36a956e2f804ccd83a418a2539314
treee280d8b9ad779bac0999c2bea6db6d511eaf0ce5
parentb65e65f5821659312ff830f693f18cfef38e9938
git: update hook, fix post-receive-email

 Add an update hook that prevents merge commits on master.

 Fix the post-receive-email script to work properly with merge commits --
 don't try to report pushes of merges with one email per commit.

 (Since we deny non-fast-forwards, we pretty much need to allow merges on
 other branches, or give up keeping them in the main repo.)
git/post-receive-email