From 8c9ce53762f90eccd0b1dcc91c6aafc59db664e8 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Thu, 23 Dec 2021 15:30:12 +0100 Subject: [PATCH] copy-patches: further git setup masking - Re-set the subject prefix to just "PATCH". - core.abbrev=8 resolves: rhbz#2034240 Signed-off-by: Laszlo Ersek --- copy-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy-patches.sh b/copy-patches.sh index 85cf20a..935c7d4 100755 --- a/copy-patches.sh +++ b/copy-patches.sh @@ -36,7 +36,7 @@ git rm -f [0-9]*.patch ||: rm -f [0-9]*.patch # Get the patches. -(cd $git_checkout; rm -f [0-9]*.patch; git -c core.abbrev=9 format-patch -O/dev/null -N --submodule=diff $tag) +(cd $git_checkout; rm -f [0-9]*.patch; git -c core.abbrev=8 format-patch -O/dev/null --subject-prefix=PATCH -N --submodule=diff $tag) mv $git_checkout/[0-9]*.patch . # Remove any not to be applied.