From ccbccf5b7a602ef6ab93bb467b4d029d49e0ab68 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Thu, 22 Dec 2022 11:55:26 -0500 Subject: [PATCH] Add --base option to git format-patch --- scripts/kernel-send-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel-send-patches.sh b/scripts/kernel-send-patches.sh index 091dfa8..d69f914 100755 --- a/scripts/kernel-send-patches.sh +++ b/scripts/kernel-send-patches.sh @@ -191,7 +191,7 @@ fi rm -rf ${srcdir}/*.patch -git format-patch -v ${series} --output-directory=${srcdir} --cover-letter ${COMMIT_START_SHA1}..${COMMIT_END_SHA1} +git format-patch --base=auto -v ${series} --output-directory=${srcdir} --cover-letter ${COMMIT_START_SHA1}..${COMMIT_END_SHA1} # Replace subject line in cover letter: sed -i -e "s/\*\*\* SUB.*/${subject}/" ${srcdir}/v${series}-0000-cover-letter.patch -- 2.20.1