-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support GIT protocol-v2 #429
Labels
feature request
A request for a new feature
Milestone
Comments
pflaska
pushed a commit
to pflaska/mina-sshd
that referenced
this issue
Nov 2, 2023
Make the protocol-v2 default for client. GIT_PROTOCOL environment variable is set to "version=2" in a session. The UploadPack is modified to accept the variable. apache#429
pflaska
pushed a commit
to pflaska/mina-sshd
that referenced
this issue
Dec 5, 2023
Keep basic (unspecified) version of git protocol as the default. The client must eplicitly request to use v2 protocol.
pflaska
pushed a commit
to pflaska/mina-sshd
that referenced
this issue
Dec 11, 2023
lgoldstein
pushed a commit
to lgoldstein/mina-sshd
that referenced
this issue
Dec 11, 2023
lgoldstein
pushed a commit
to lgoldstein/mina-sshd
that referenced
this issue
Dec 11, 2023
asfgit
pushed a commit
that referenced
this issue
Dec 11, 2023
Merged as 43288b58c7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
To make the git protocol-v2 work, the env. variable GIT_PROTOCOL has to be set to the 'version=2' value on the client side. The SSHD server reads the variable and sets extra parameters to use protocol v2.
Motivation
Git protocol v2 improves the v1 wire protocol in several ways and should be the preferred version.
Alternatives considered
No response
Additional context
protocol-v2 is supported by native git version >= 2.18.0 and jgit >= 5.11.
See https://git-scm.com/docs/protocol-v2/ for additional details.
The text was updated successfully, but these errors were encountered: