diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-26 17:50:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 17:50:06 +0800 |
commit | 063fa9915958215fe028f1bc97afdf9f6ca2aca2 (patch) | |
tree | 6d7240ac47443820b90a00106b8bda46b0d9581e /custom | |
parent | 6c16febe4d0e66592cdf1af0c38101f463e230b7 (diff) | |
download | gitea-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.sample | 2 |
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] |