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

commit.go « gitaly-git2go « cmd - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d8ac4c7faecc28cd32902123d434246185cf850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// +build static,system_libgit2

package main

import (
	"context"
	"flag"
	"io"

	"gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go/commit"
)

type commitSubcommand struct{}

func (commitSubcommand) Flags() *flag.FlagSet { return flag.NewFlagSet("commit", flag.ExitOnError) }

func (commitSubcommand) Run(ctx context.Context, stdin io.Reader, stdout io.Writer) error {
	return commit.Run(ctx, stdin, stdout)
}