From 06ff4c57b046fc5493694627ca73638c00116b71 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sun, 29 Nov 2015 15:35:49 +0300 Subject: [PATCH] patch-tool-mxe: omit signature with git version Signature is a string like: -- 1.9.1 Decrease patch diff size. See #983 --- tools/patch-tool-mxe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe index f7ae75c8..a8277101 100755 --- a/tools/patch-tool-mxe +++ b/tools/patch-tool-mxe @@ -94,7 +94,12 @@ function export_patch { echo '' echo 'Contains ad hoc patches for cross building.' echo '' - git format-patch --no-numbered -p --stdout dist..HEAD + git format-patch \ + --no-numbered \ + -p \ + --no-signature \ + --stdout \ + dist..HEAD ) > $mxedir/src/${pkg}-${patch_name}.patch && \ echo "Generated ${mxedir}/src/${pkg}-${patch_name}.patch" }