From 7c0862b6d9b2258692bd4dc2b94554d255fd505c Mon Sep 17 00:00:00 2001
From: Success <success.go@gaodacheng.com>
Date: Fri, 21 Aug 2020 01:41:08 +0800
Subject: [PATCH] fix typos (#12545)

* fix typo in app.ini

* fix typo in git hook module

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
---
 custom/conf/app.example.ini | 2 +-
 modules/git/hook.go         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index bbd3b5bc36..f3030edd82 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -985,7 +985,7 @@ NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),D
 ; Two Factor authentication with security keys
 ; https://developers.yubico.com/U2F/App_ID.html
 ;APP_ID = http://localhost:3000/
-; Comma seperated list of trusted facets
+; Comma separated list of trusted facets
 ;TRUSTED_FACETS = http://localhost:3000/
 
 ; Extension mapping to highlight class
diff --git a/modules/git/hook.go b/modules/git/hook.go
index 7b75405901..2b9f90efd3 100644
--- a/modules/git/hook.go
+++ b/modules/git/hook.go
@@ -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)