mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Unexport git.GlobalCommandArgs (#18376)
Unexport the git.GlobalCommandArgs variable.
This commit is contained in:
		@@ -29,7 +29,7 @@ func CheckLFSVersion() {
 | 
			
		||||
			logger.Error("LFS server support needs at least Git v2.1.2")
 | 
			
		||||
		} else {
 | 
			
		||||
			once.Do(func() {
 | 
			
		||||
				GlobalCommandArgs = append(GlobalCommandArgs, "-c", "filter.lfs.required=",
 | 
			
		||||
				globalCommandArgs = append(globalCommandArgs, "-c", "filter.lfs.required=",
 | 
			
		||||
					"-c", "filter.lfs.smudge=", "-c", "filter.lfs.clean=")
 | 
			
		||||
			})
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user