Truncate long commit messages (fixes #2)