copy-patches: mask some differences in Laszlo's git setup

Restore these git defaults:
- core.abbrev=9
- -O/dev/null

resolves: rhbz#2030709, rhbz#2034160
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Laszlo Ersek 2021-12-23 14:59:44 +01:00
parent 887dcfdf42
commit 975798ac9b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ git rm -f [0-9]*.patch ||:
rm -f [0-9]*.patch
# Get the patches.
(cd $git_checkout; rm -f [0-9]*.patch; git format-patch -N --submodule=diff $tag)
(cd $git_checkout; rm -f [0-9]*.patch; git -c core.abbrev=9 format-patch -O/dev/null -N --submodule=diff $tag)
mv $git_checkout/[0-9]*.patch .
# Remove any not to be applied.