summaryrefslogtreecommitdiff
path: root/internal/command/commandargs/shell.go
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2020-03-02 07:02:27 +0000
committerAsh McKenzie <amckenzie@gitlab.com>2020-03-02 07:02:27 +0000
commitaaa6c882096ba29113d2762ed278d6127d0baed4 (patch)
tree88958ce7c8d05a4aaa9d6411f5062c68c7c46ba8 /internal/command/commandargs/shell.go
parent9e7533784ef729eab0b2dcc659892dbf1e0e0868 (diff)
parentcab69fadc13b530f21f910c1d23d146758c365cb (diff)
downloadgitlab-shell-aaa6c882096ba29113d2762ed278d6127d0baed4.tar.gz
Merge branch 'ps-git-protocol-envvar' into 'master'
commands: pass through GIT_PROTOCOL envvar provided by clients Closes #273 See merge request gitlab-org/gitlab-shell!364
Diffstat (limited to 'internal/command/commandargs/shell.go')
-rw-r--r--internal/command/commandargs/shell.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/command/commandargs/shell.go b/internal/command/commandargs/shell.go
index 7e2b72e..1fe59fb 100644
--- a/internal/command/commandargs/shell.go
+++ b/internal/command/commandargs/shell.go
@@ -15,6 +15,8 @@ const (
ReceivePack CommandType = "git-receive-pack"
UploadPack CommandType = "git-upload-pack"
UploadArchive CommandType = "git-upload-archive"
+
+ GitProtocolEnv = "GIT_PROTOCOL"
)
var (