Adds half-baked commit hook.