]> source.dussan.org Git - gitea.git/commit
Fixed git args duplication (#13411)
authorViktor Suprun <popsul1993@gmail.com>
Tue, 3 Nov 2020 11:35:09 +0000 (22:35 +1100)
committerGitHub <noreply@github.com>
Tue, 3 Nov 2020 11:35:09 +0000 (13:35 +0200)
commit7d16e6db8e1bdcbe12949ffc1f3239279772d1cc
tree00c1d474e86534a1b5e3cd099d5f001e00eb0d67
parentbe880d4063c336327bb9766e4dba4355e725c675
Fixed git args duplication (#13411)

Because newGit() invoked twice (inside PreInstallInit() and
GlobalInit()) and git parameters is global object, all
git commands call with duplicated args
`-c credential.helper= -c protocol.version=2`
modules/setting/git.go