From 8fe0680679e77738d1b30af417dcc2dce63ef67b Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 29 Nov 2015 15:44:07 +0300 Subject: patch-tool-mxe: replace commit hash with zeros Decrease patch diff size. See #983 --- tools/patch-tool-mxe | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe index 2bbb64b..09539ab 100755 --- a/tools/patch-tool-mxe +++ b/tools/patch-tool-mxe @@ -100,6 +100,7 @@ function export_patch { --no-signature \ --stdout \ dist..HEAD | \ + sed 's/^From [0-9a-f]\{40\} /From 0000000000000000000000000000000000000000 /' | \ sed 's/^index .......\.\......../index 0000000..0000000/' ) > $mxedir/src/${pkg}-${patch_name}.patch && \ echo "Generated ${mxedir}/src/${pkg}-${patch_name}.patch" -- cgit v0.12