]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs-apply: ensure guilt import retains commit messages
authorDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 23:10:58 +0000 (09:10 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 23:10:58 +0000 (09:10 +1000)
commitdb60c38e0264f2b0958a3a179dc32d23d5b51e24
tree1e045b303be45b3e262e316aaa943680adfdc63e
parenta58049780ac3353f51ccc336f6e40c9f4bbc9f7c
libxfs-apply: ensure guilt import retains commit messages

The commit message attached to each patch is being filtered out
during the process of preparing it for import via guilt. This
results in commits without the corresponding commit message.
Massage the patch format to ensure that guilt imports the commit
message along with the code changes.

Also, older versions of filterdiff do not handle git diff metadata
correctly, so add a version check on filterdiff to make sure we use
a working version.

Signed-off-by: Dave Chinner <david@fromorbit.com>
tools/libxfs-apply