handles a commit without comments