From: Hugo Villeneuve Date: Thu, 22 Dec 2022 16:55:26 +0000 (-0500) Subject: Add --base option to git format-patch X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ccbccf5b7a602ef6ab93bb467b4d029d49e0ab68;p=hvutilities.git Add --base option to git format-patch --- 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