mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	fix typos (#12545)
* fix typo in app.ini * fix typo in git hook module Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -125,7 +125,7 @@ const (
 | 
			
		||||
	HookPathUpdate = "hooks/update"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// SetUpdateHook writes given content to update hook of the reposiotry.
 | 
			
		||||
// SetUpdateHook writes given content to update hook of the repository.
 | 
			
		||||
func SetUpdateHook(repoPath, content string) (err error) {
 | 
			
		||||
	log("Setting update hook: %s", repoPath)
 | 
			
		||||
	hookPath := path.Join(repoPath, HookPathUpdate)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user