Package: patchutils
Version: 0.3.2-1.1
Severity: wishlist

Hello,

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. Something like this would work:

filterdiff --exclude-files-changes ' It has been AutoGen-ed '

part of example diff:
-----------------------------------------------------
diff -Nru autogen-5.16/autoopts/autoopts/options.h 
autogen-5.16.2~pre9/autoopts/autoopts/options.h
--- autogen-5.16/autoopts/autoopts/options.h    2012-05-07 01:21:03.000000000 
+0200
+++ autogen-5.16.2~pre9/autoopts/autoopts/options.h     2012-08-09 
17:50:36.000000000 +0200
@@ -2,7 +2,7 @@
  *  
  *  DO NOT EDIT THIS FILE   (options.h)
  *  
- *  It has been AutoGen-ed  May  6, 2012 at 04:21:03 PM by AutoGen 5.16pre36
+ *  It has been AutoGen-ed  August  9, 2012 at 08:50:36 AM by AutoGen 
5.16.2pre7
  *  From the definitions    funcs.def
  *  and the template file   options_h
  *

-----------------------------------------------------

thanks for considering, cu andreas


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to