diff options
author | Paul Okstad <pokstad@gitlab.com> | 2020-01-24 23:02:04 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2020-01-24 23:02:04 +0300 |
commit | f8f3ffe071afc402f91fd7a2fd61513ee5adf678 (patch) | |
tree | 7006c88e583c563055bc20cfe8d4d18c2c65817c /internal/git/proto.go | |
parent | 1747a15990b323e62e1b1a1314e83926010ab513 (diff) |
Unexport dangerous command functions
Diffstat (limited to 'internal/git/proto.go')
-rw-r--r-- | internal/git/proto.go | 2 |
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 } |