BUILDTOOLS-425: Disable commit.gpgSign in applyPatches.sh

If commit.gpgSign is true globally then that also applies to this
script, and so it will try to get permission to sign every commit it
applies. This means that users using BuildTools will have to temporarily
unset gpgSign from their global git config every time they want to run
BuildTools.

By setting it to false locally this is prevented.
This commit is contained in:
Yukar9 2018-12-20 18:39:17 +01:00
parent 667bdd6ba7
commit 573cdf2c73

View file

@ -19,6 +19,7 @@ applyPatch() {
fi
cd "$basedir/$target"
echo "Resetting $target to $what..."
git config commit.gpgSign false
git remote rm upstream 2>/dev/null 2>&1
git remote add upstream ../$what >/dev/null 2>&1
git checkout master >/dev/null 2>&1