Open pbsds opened 1 year ago
is a feature not a bug "This way filterdiff can be used to clean up an existing diff file, removing redundant lines from the beginning (eg. the text from the mail body) or between the chunks (eg. in CVS diffs). To extract pure patch data"
Not considering file permission changes (nor renames? #22) a part of the "patch data" strikes me as kind of arbitrary, and is unfortunate since it breaks the assumption that a filtered diff would apply the same changes as the original diff.
correct filterdiff clean renames and file permissions modifications from the patch , is a almost an duplicate issue of #22
It seems filterdiff ignores changes in file permissions, such as removal of the executable flag.
Repro:
Expected result
A diff
Actual result
Nothing