Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2022-10-05 16:46:03 +0300
committerJohn Cai <jcai@gitlab.com>2022-10-05 16:46:03 +0300
commit8a83b0785f364a634758d26290eff001de6eb12b (patch)
tree2b27dc740712284b050c6c43c67cb6e7846eaa7e /cmd
parentf955266a86bb86637389583c591ae79ed7ad460e (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.go5
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())
}