summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-26 17:50:06 +0800
committerGitHub <noreply@github.com>2019-05-26 17:50:06 +0800
commit063fa9915958215fe028f1bc97afdf9f6ca2aca2 (patch)
tree6d7240ac47443820b90a00106b8bda46b0d9581e /custom
parent6c16febe4d0e66592cdf1af0c38101f463e230b7 (diff)
downloadgitea-063fa9915958215fe028f1bc97afdf9f6ca2aca2.tar.gz
gitea-063fa9915958215fe028f1bc97afdf9f6ca2aca2.zip
when git version >= 2.18, git command could run with git wire protocol version 2 param if enabled (#7047)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 547bc9e935..e13f5aeeda 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -671,6 +671,8 @@ MAX_GIT_DIFF_FILES = 100
; Arguments for command 'git gc', e.g. "--aggressive --auto"
; see more on http://git-scm.com/docs/git-gc/
GC_ARGS =
+; If use git wire protocol version 2 when git version >= 2.18, default is true, set to false when you always want git wire protocol version 1
+EnableAutoGitWireProtocol = true
; Operation timeout in seconds
[git.timeout]