blob: cd0a1a31db5de17b098db8a7faa02af6dc805573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//go:build static && system_libgit2
package main
import (
"context"
"encoding/gob"
"flag"
"gitlab.com/gitlab-org/gitaly/v15/cmd/gitaly-git2go/commit"
)
type commitSubcommand struct{}
func (commitSubcommand) Flags() *flag.FlagSet { return flag.NewFlagSet("commit", flag.ExitOnError) }
func (commitSubcommand) Run(ctx context.Context, decoder *gob.Decoder, encoder *gob.Encoder) error {
return commit.Run(ctx, decoder, encoder)
}
|