Add --base option to git format-patch
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 22 Dec 2022 16:55:26 +0000 (11:55 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 22 Dec 2022 17:01:09 +0000 (12:01 -0500)
scripts/kernel-send-patches.sh

index 091dfa8..d69f914 100755 (executable)
@@ -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