Don't crash when commit messages are too long