mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	fix a small nit (#13074)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
		| @@ -65,7 +65,7 @@ func newGit() { | |||||||
| 		log.Fatal("Failed to map Git settings: %v", err) | 		log.Fatal("Failed to map Git settings: %v", err) | ||||||
| 	} | 	} | ||||||
| 	if err := git.SetExecutablePath(Git.Path); err != nil { | 	if err := git.SetExecutablePath(Git.Path); err != nil { | ||||||
| 		log.Fatal("Failed to initialize Git settings", err) | 		log.Fatal("Failed to initialize Git settings: %v", err) | ||||||
| 	} | 	} | ||||||
| 	git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second | 	git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user