Better format success message so that it can be used as a commit