summaryrefslogtreecommitdiffstats
path: root/modules/git/command.go
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-02-01 03:46:45 +0100
committerGitHub <noreply@github.com>2022-02-01 10:46:45 +0800
commitf87d5ea9eed7749739e93c0687ff161e69fc4ca3 (patch)
treeb31fa397dd070ebe723fdf7c3ff300004ee7108d /modules/git/command.go
parent1de5028394544685247405b80f56bf2fe04a134b (diff)
downloadgitea-f87d5ea9eed7749739e93c0687ff161e69fc4ca3.tar.gz
gitea-f87d5ea9eed7749739e93c0687ff161e69fc4ca3.zip
Remove go 1.15 support (#18511)
- Remove support for go 1.15(go.mod already requires go 1.16). Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/git/command.go')
-rw-r--r--modules/git/command.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/git/command.go b/modules/git/command.go
index e8afaa0e46..79d86bd90b 100644
--- a/modules/git/command.go
+++ b/modules/git/command.go
@@ -165,10 +165,6 @@ func (c *Command) RunWithContext(rc *RunContext) error {
"GIT_TERMINAL_PROMPT=0",
)
- // TODO: verify if this is still needed in golang 1.15
- if goVersionLessThan115 {
- cmd.Env = append(cmd.Env, "GODEBUG=asyncpreemptoff=1")
- }
cmd.Dir = rc.Dir
cmd.Stdout = rc.Stdout
cmd.Stderr = rc.Stderr