Skip to content

Commit

Permalink
the default context is the correct context
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath committed Nov 30, 2019
1 parent 84760e2 commit 05063e6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routers/repo/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ func serviceRPC(h serviceHandler, service string) {
// set this for allow pre-receive and post-receive execute
h.environ = append(h.environ, "SSH_ORIGINAL_COMMAND="+service)

// FIXME: graceful: Is the defaultContext appropriate here or should it be the requests context?
ctx, cancel := gocontext.WithCancel(git.DefaultContext)
defer cancel()
var stderr bytes.Buffer
Expand Down

0 comments on commit 05063e6

Please sign in to comment.