1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled (#7047)

This commit is contained in:
Lunny Xiao
2019-05-26 17:50:06 +08:00
committed by GitHub
parent 6c16febe4d
commit 063fa99159
4 changed files with 28 additions and 13 deletions

View File

@@ -210,6 +210,7 @@ menu:
- `CLONE`: **300**: 内部仓库间克隆的超时时间,单位秒
- `PULL`: **300**: 内部仓库间拉取的超时时间,单位秒
- `GC`: **60**: git仓库GC的超时时间单位秒
- `ENABLE_AUTO_GIT_WIRE_PROTOCOL`: **true**: 是否根据 Git Wire Protocol协议支持情况自动切换版本当 git 版本在 2.18 及以上时会自动切换到版本2。为 `false` 则不切换。
## API (`api`)