From 77c9fca2d05f8e6e93d15e457ff37b86ae852bc4 Mon Sep 17 00:00:00 2001 From: Savely Krasovsky Date: Tue, 23 Aug 2022 14:41:55 +0000 Subject: feat(gitaly-git2go): sign commits with OpenPGP key --- internal/git2go/executor.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/git2go/executor.go') diff --git a/internal/git2go/executor.go b/internal/git2go/executor.go index 30c8ff0a3..b97a9f3b0 100644 --- a/internal/git2go/executor.go +++ b/internal/git2go/executor.go @@ -31,6 +31,7 @@ var ( // Executor executes gitaly-git2go. type Executor struct { binaryPath string + signingKey string gitCmdFactory git.CommandFactory locator storage.Locator logFormat, logLevel string @@ -41,6 +42,7 @@ type Executor struct { func NewExecutor(cfg config.Cfg, gitCmdFactory git.CommandFactory, locator storage.Locator) *Executor { return &Executor{ binaryPath: cfg.BinaryPath(BinaryName), + signingKey: cfg.Git.SigningKey, gitCmdFactory: gitCmdFactory, locator: locator, logFormat: cfg.Logging.Format, -- cgit v1.2.3