]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs-apply: don't add duplicate headers
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 Dec 2020 17:16:59 +0000 (12:16 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Fri, 4 Dec 2020 17:16:59 +0000 (12:16 -0500)
commit07ed2de82370e4e2642e5220e1b20bd97da9aebf
tree5a694246832635b03dc895387936ae85bb6e50b2
parentc0594dd603dad24e5f61765ca02cb1763ddad183
libxfs-apply: don't add duplicate headers

When we're backporting patches from libxfs, don't add a S-o-b header if
there's already one at the end of the headers of the patch being ported.

That way, we avoid things like:
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
tools/libxfs-apply