Skip to content

shell: enable the use of Git protocol v2, via AcceptEnv

Jason Plum requested to merge 848-shell-git-v2 into master

Enable gitlab-shell's ssh server to accept GIT_PROTOCOL environment. This enables the use of Git protocol v2.

This is opt-in at the client side, but requires the added functionality at the server side, which this implements.

Closes https://gitlab.com/charts/gitlab/issues/848

cc @joshlambert

Merge request reports