Port of Difr to support git log -p output format