Truncate long commit messages.