blob: 0dbf90d2492cfbbe49b4bb97b91083607c926b96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//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 (cmd *commitSubcommand) Flags() *flag.FlagSet {
return flag.NewFlagSet("commit", flag.ExitOnError)
}
func (cmd *commitSubcommand) Run(ctx context.Context, decoder *gob.Decoder, encoder *gob.Encoder) error {
return commit.Run(ctx, decoder, encoder)
}
|