Trim the commit messages to remove irrelevant leading and trailing line-endings.