Fix #453
deliver hooks immediately after commit