mirror of
https://hub.spigotmc.org/stash/scm/spigot/spigot.git
synced 2025-09-18 21:33:01 +00:00
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:
parent
667bdd6ba7
commit
573cdf2c73
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue