diff options
author | John Cai <jcai@gitlab.com> | 2022-10-05 16:46:03 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2022-10-05 16:46:03 +0300 |
commit | 8a83b0785f364a634758d26290eff001de6eb12b (patch) | |
tree | 2b27dc740712284b050c6c43c67cb6e7846eaa7e /cmd | |
parent | f955266a86bb86637389583c591ae79ed7ad460e (diff) |
Revert "Merge branch 'jc-spawn-git-in-pgid' into 'master'"
This reverts merge request !4889
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gitaly/main.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/gitaly/main.go b/cmd/gitaly/main.go index 62428a511..805ac336a 100644 --- a/cmd/gitaly/main.go +++ b/cmd/gitaly/main.go @@ -195,10 +195,7 @@ func run(cfg config.Cfg) error { } skipHooks, _ := env.GetBool("GITALY_TESTING_NO_GIT_HOOKS", false) - commandFactoryOpts := []git.ExecCommandFactoryOption{ - git.WithGitalyPid(os.Getpid()), - } - + var commandFactoryOpts []git.ExecCommandFactoryOption if skipHooks { commandFactoryOpts = append(commandFactoryOpts, git.WithSkipHooks()) } |