Fix long commit message overflowing. Fixes #312