From 3423d5e7cdab356d115aef7f987b4a1098ede448 Mon Sep 17 00:00:00 2001 From: Quentin Monnet Date: Wed, 4 Jan 2023 16:58:14 +0000 Subject: [PATCH] sync: Remove "git format-patch" signature (version) from cover letter When syncing with the kernel, the script generates a cover letter for the latest changes using "git format-patch". Unless specified otherwise, it uses a signature (as in, email footer signature) which defaults to the Git version in use, and ends up in the commit logs. This doesn't bring any useful information in there: let's get rid of this version number. Signed-off-by: Quentin Monnet --- scripts/sync-kernel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sync-kernel.sh b/scripts/sync-kernel.sh index eb09ef1..cf405da 100755 --- a/scripts/sync-kernel.sh +++ b/scripts/sync-kernel.sh @@ -260,7 +260,7 @@ if ((${COMMIT_CNT} <= 0)); then fi # Exclude baseline commit and generate nice cover letter with summary -git format-patch ${SQUASH_BASE_TAG}..${SQUASH_TIP_TAG} --cover-letter -o ${TMP_DIR}/patches +git format-patch --no-signature ${SQUASH_BASE_TAG}..${SQUASH_TIP_TAG} --cover-letter -o ${TMP_DIR}/patches # Now is time to re-apply libbpf-related linux patches to libbpf repo cd_to ${LIBBPF_REPO}