Hi, Philip Hands <p...@hands.com> wrote: > Camaleón <noela...@gmail.com> writes: > > ... > > The mass-block changes made by Javier make it difficult to see what > > has been going on with the original file: > > I had a quick look at some of these changes, and thought that there > ought to be a way of extracting the sense from the noise. So I've had a > play with git diff textconv's and come up with something that may help a > bit. > > Attached you'll find a hacky perl script (sloppy_po.pl) which strips out > CR-LFs and trailing spaces, and to joins msg* chunks together so that > the changes in line-breaks go away. > > If you configure git to use that for .po diffs, then the real > differences are revealed. One does that by adding the following to > .git/info/attributes: > > =-=-=-=- > *.po diff=po > =-=-=-=- > > and this to .git/config: > > =-=-=-=- > [diff "po"] > textconv = ./sloppy_po.pl > =-=-=-=- > > (assuming you're putting the script in the repo) > > Having done that you'll get a much shorter diff:
Wow, great tool. Many thanks Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076