diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-29 12:43:30 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-11-29 12:43:30 (GMT) |
commit | 711a99a580c5c29a8255feaf051984ad99f1f76f (patch) | |
tree | d4f93ff8938d8460a6a0fd83f89aae6c2f8548fc /tools | |
parent | 06ff4c57b046fc5493694627ca73638c00116b71 (diff) | |
download | mxe-711a99a580c5c29a8255feaf051984ad99f1f76f.zip mxe-711a99a580c5c29a8255feaf051984ad99f1f76f.tar.gz mxe-711a99a580c5c29a8255feaf051984ad99f1f76f.tar.bz2 |
patch-tool-mxe: replace object names with zeros
Decrease patch diff size.
See #983
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patch-tool-mxe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe index a827710..2bbb64b 100755 --- a/tools/patch-tool-mxe +++ b/tools/patch-tool-mxe @@ -99,7 +99,8 @@ function export_patch { -p \ --no-signature \ --stdout \ - dist..HEAD + dist..HEAD | \ + sed 's/^index .......\.\......../index 0000000..0000000/' ) > $mxedir/src/${pkg}-${patch_name}.patch && \ echo "Generated ${mxedir}/src/${pkg}-${patch_name}.patch" } |