mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08: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:
		@@ -27,6 +27,7 @@ var (
 | 
			
		||||
		PullRequestPushMessage    bool
 | 
			
		||||
		LargeObjectThreshold      int64
 | 
			
		||||
		DisableCoreProtectNTFS    bool
 | 
			
		||||
		DisablePartialClone       bool
 | 
			
		||||
		Timeout                   struct {
 | 
			
		||||
			Default int
 | 
			
		||||
			Migrate int
 | 
			
		||||
@@ -48,6 +49,7 @@ var (
 | 
			
		||||
		EnableAutoGitWireProtocol: true,
 | 
			
		||||
		PullRequestPushMessage:    true,
 | 
			
		||||
		LargeObjectThreshold:      1024 * 1024,
 | 
			
		||||
		DisablePartialClone:       false,
 | 
			
		||||
		Timeout: struct {
 | 
			
		||||
			Default int
 | 
			
		||||
			Migrate int
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user