diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-29 12:44:07 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-11-29 12:44:07 (GMT) |
commit | 8fe0680679e77738d1b30af417dcc2dce63ef67b (patch) | |
tree | 9becd182513b903d1a7e57786fbe91661fa17d46 /tools/patch-tool-mxe | |
parent | 711a99a580c5c29a8255feaf051984ad99f1f76f (diff) | |
download | mxe-8fe0680679e77738d1b30af417dcc2dce63ef67b.zip mxe-8fe0680679e77738d1b30af417dcc2dce63ef67b.tar.gz mxe-8fe0680679e77738d1b30af417dcc2dce63ef67b.tar.bz2 |
patch-tool-mxe: replace commit hash with zeros
Decrease patch diff size.
See #983
Diffstat (limited to 'tools/patch-tool-mxe')
-rwxr-xr-x | tools/patch-tool-mxe | 1 |
1 files changed, 1 insertions, 0 deletions
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" |