[diffoscope] Excluding certain changes from diffoscope output
jelmer at jelmer.uk
Thu Jan 2 14:53:31 UTC 2020
What is the best way to filter out certain changes from diffoscope
The use case I have in mind is where you have two Debian changes files
with different version strings. I'm interested in any changes that
are not merely introduced by the differing version strings. Several
non-trivial things change when the version string changes though,
such as the dependencies between binary packages in control files.
It would be ideal if there was a way to say "there's no need to show
any diffs where all that's happening is string A is being replaced
with string B".
I've experimented with debdiff, and post-processing its output to
filter out any wdiff changes that are purely replacing the version
strings. diffoscope's output is much more useful though, but it is also
harder to postprocess (and that will probably be brittle) AFAICT.
Jelmer Vernooĳ <jelmer at jelmer.uk>
PGP Key: https://www.jelmer.uk/D729A457.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the diffoscope