handle for commit which has no messages