Trim the commit message.