Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Wire 2 for Internal SSH Server (go-gitea#20616)
- Git only decides to use the Wire 2 protocol when `git {receive,upload}-pack` receive the `GIT_PROTOCOL` environment with as value `version=2`. Currently the internal SSH Server wasn't passing this environment through. The `gitea serv` code already passed all received environments to the git command, so no code changes there.
- Loading branch information