mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Enable partial clone by default (#18195)
- Enable partial clones(which are by default disabled from git) by default, unless configured otherwise. - Resolves #18190
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user