Fixed issue #2387
Fixing issue #2387
When having clone.defaultRemoteName not set to origin in the global gitconfig, the installation fails.
This is fixed by setting GIT_CONFIG_NOSYSTEM=1 when running the makepkg and git commands.
The original PKGBUILD repo is also cloned with the --origin=origin flag set, just in case.
Hey @AinoSpring , I think only keeping origin=origin the best. Some users rely on the gitconfig to handle proxies,..
The problem "somehow" happened in the makepkg commands so git flags can't be used..
I just found some other git env-vars to override config keys which also fixed the problem.
:+1: ok to merge this, testing didn't show much problems. Thanks @AinoSpring
Hey @AinoSpring , I think your rebase might have failed. Would you be available for handling it?