]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs-apply: support filterdiff >= 0.4.2 only
authorDave Chinner <dchinner@redhat.com>
Tue, 11 Jan 2022 02:17:34 +0000 (18:17 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jan 2022 00:02:51 +0000 (16:02 -0800)
commit578feb7c6832cca2e3f52560069a026ef6863755
tree80f0ab92543f3322833ff0be60089fde23a14503
parent1d557d0ee0daa949278eded192063c84c84bddfd
libxfs-apply: support filterdiff >= 0.4.2 only

We currently require filterdiff v0.3.4 as a minimum for handling git
based patches. This was the first version to handle git diff
metadata well enough to do patch reformatting. It was, however, very
buggy and required several workarounds to get it to do what we
needed.

However, these bugs have been fixed and on a machine with v0.4.2,
the workarounds result in libxfs-apply breaking and creating corrupt
patches. Rather than try to carry around workarounds for a broken
filterdiff version and one that just works, just increase the
minimum required version to 0.4.2 and remove all the workarounds for
the bugs in 0.3.4.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
tools/libxfs-apply