1002
LPT Do it.
(mander.xyz)
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
This is a science community. We use the Dawkins definition of meme.
What? I don't understand what are you trying to say. Are you trying to do manual scan of xml inside? It's useless, internal format is not intended to be human-readable. But you can use regular git diff anyway.
Or if you want to compare rendered documents, then you probably need to make git diff driver. Or checkout multiple worktrees and use libreoffice's comparasion.
I meant the last one of those. If you have a directory of lose files, you can just open any of them and compare them directly, but if they're all in git, you'll either have to make a copy of your current version before checking out the other one (because it would be overwritten otherwise), or like you said, use multiple worktrees, which is a rather advanced feature (that I honestly didn't even know existed until now).
Either way it's a bunch of extra work and it's only necessary because you chose the wrong tool for the job.
Or call libreoffice as diff driver.
This might work
I imagine script that outputs pandiff into pdf and opens okular. Yep.