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:
authorPaul Okstad <pokstad@gitlab.com>2020-01-24 23:02:04 +0300
committerJohn Cai <jcai@gitlab.com>2020-01-24 23:02:04 +0300
commitf8f3ffe071afc402f91fd7a2fd61513ee5adf678 (patch)
tree7006c88e583c563055bc20cfe8d4d18c2c65817c /internal/git/proto.go
parent1747a15990b323e62e1b1a1314e83926010ab513 (diff)
Unexport dangerous command functions
Diffstat (limited to 'internal/git/proto.go')
-rw-r--r--internal/git/proto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/proto.go b/internal/git/proto.go
index d8d6a5f96..5bc5a587d 100644
--- a/internal/git/proto.go
+++ b/internal/git/proto.go
@@ -54,7 +54,7 @@ func Version() (string, error) {
defer cancel()
var buf bytes.Buffer
- cmd, err := BareCommand(ctx, nil, &buf, nil, nil, "version")
+ cmd, err := unsafeBareCmd(ctx, nil, &buf, nil, nil, "version")
if err != nil {
return "", err
}