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
diff options
context:
space:
mode:
authorSavely Krasovsky <krasovskiisi@sovcombank.ru>2022-08-23 17:41:55 +0300
committerWill Chandler <wchandler@gitlab.com>2022-08-23 17:41:55 +0300
commit77c9fca2d05f8e6e93d15e457ff37b86ae852bc4 (patch)
tree69a0089b1c36814bcf776733bb5d90934cbb8339 /internal/git2go/executor.go
parent46d8149fe7233a1d0d7518f64ace97bccba3ad1b (diff)
feat(gitaly-git2go): sign commits with OpenPGP key
Diffstat (limited to 'internal/git2go/executor.go')
-rw-r--r--internal/git2go/executor.go2
1 files changed, 2 insertions, 0 deletions
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,