summaryrefslogtreecommitdiffstats
path: root/modules/git/command.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-08-13 10:11:24 -0400
committerGitHub <noreply@github.com>2020-08-13 10:11:24 -0400
commitbd7d6a3d736a3d9781ef3b243a8e18e93f632955 (patch)
tree264e0fdd3e5bfd2bc8547d7104acfe7af6d1c2cc /modules/git/command.go
parente01bac84047baf8b0014116715c630375ea42377 (diff)
downloadgitea-bd7d6a3d736a3d9781ef3b243a8e18e93f632955.tar.gz
gitea-bd7d6a3d736a3d9781ef3b243a8e18e93f632955.zip
go1.15 (#12475)
* go1.15 * update makefile xgo version * fix vet issue * update docs to version of go in use * add TODO for asyncpreemptoff Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'modules/git/command.go')
-rw-r--r--modules/git/command.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/git/command.go b/modules/git/command.go
index 14fab4ef3c..1496b0186e 100644
--- a/modules/git/command.go
+++ b/modules/git/command.go
@@ -129,6 +129,7 @@ func (c *Command) RunInDirTimeoutEnvFullPipelineFunc(env []string, timeout time.
cmd.Env = append(cmd.Env, fmt.Sprintf("LC_ALL=%s", DefaultLocale))
}
+ // TODO: verify if this is still needed in golang 1.15
cmd.Env = append(cmd.Env, "GODEBUG=asyncpreemptoff=1")
cmd.Dir = dir
cmd.Stdout = stdout