- Make sure you have
iconvandperlin your PATH. - Put
unpptxsomewhere in your PATH andchmod +x unpptx. - Add the lines to your
~/.gitconfig. - Add the lines to your
.gitattributesin your repo.
In addition to what Managing ZIP-based file formats in git by tante does, this setup adds line-breaks to huge xml chunks and ignores binaries for better diff result. So, binary changes do not appear in the diff result.