summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-06 05:38:38 +0000
committerGitHub <noreply@github.com>2022-01-06 06:38:38 +0100
commit4b3bfd7e89cd1527d500ac44c2564d398a6b681e (patch)
tree6931e90da5cb4ee603812d029723b924f00a9f68 /custom
parent1514e13bb86d4714550107efa58c947b1bfc39c6 (diff)
downloadgitea-4b3bfd7e89cd1527d500ac44c2564d398a6b681e.tar.gz
gitea-4b3bfd7e89cd1527d500ac44c2564d398a6b681e.zip
Enable partial clone by default (#18195)
- Enable partial clones(which are by default disabled from git) by default, unless configured otherwise. - Resolves #18190
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 17343aaea1..a58e52cb41 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -592,6 +592,8 @@ PATH =
;LARGE_OBJECT_THRESHOLD = 1048576
;; Set to true to forcibly set core.protectNTFS=false
;DISABLE_CORE_PROTECT_NTFS=false
+;; Disable the usage of using partial clones for git.
+;DISABLE_PARTIAL_CLONE = false
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -790,7 +792,7 @@ PATH =
;PREFERRED_LICENSES = Apache License 2.0,MIT License
;;
;; Disable the ability to interact with repositories using the HTTP protocol
-;;DISABLE_HTTP_GIT = false
+;DISABLE_HTTP_GIT = false
;;
;; Value for Access-Control-Allow-Origin header, default is not to present
;; WARNING: This may be harmful to your website if you do not give it a right value.