Format content of Git commit for input to swish-e indexer.