mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
		@@ -16,8 +16,8 @@ var once sync.Once
 | 
			
		||||
// CheckLFSVersion will check lfs version, if not satisfied, then disable it.
 | 
			
		||||
func CheckLFSVersion() {
 | 
			
		||||
	if setting.LFS.StartServer {
 | 
			
		||||
		//Disable LFS client hooks if installed for the current OS user
 | 
			
		||||
		//Needs at least git v2.1.2
 | 
			
		||||
		// Disable LFS client hooks if installed for the current OS user
 | 
			
		||||
		// Needs at least git v2.1.2
 | 
			
		||||
 | 
			
		||||
		err := LoadGitVersion()
 | 
			
		||||
		if err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user