On 2015-07-14 "patchutils.bug@discard.email" <patchutils.bug@discard.email> wrote: > Andreas Metzler writes: >> it would be nice if filterdiff had an option to exclude files where >> one of the changes to the file matches a pattern.
>> Use case: When comparing two releases of a software I like to exclude >> autogenerated files. For autoconf/automake filename patterns work >> reasonably well however the output of GNU autogen cannot be filtered >> this way. > This can be achieved by using grepdiff together with filterdiff, e.g: > $ grepdiff ' It has been AutoGen-ed ' my.patch | filterdiff -X /dev/stdin > my.patch > > See the manpage of grepdiff for a similar example. That looks like a perfect solution. Thanks. cu Andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure' -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org