summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuccess <success.go@gaodacheng.com>2020-08-21 01:41:08 +0800
committerGitHub <noreply@github.com>2020-08-20 18:41:08 +0100
commit7c0862b6d9b2258692bd4dc2b94554d255fd505c (patch)
treea35dcf3962033582975b554c1e582f46ea6b8990
parent69a77b2a73ecb026d856a9f6f12de5839de08477 (diff)
downloadgitea-7c0862b6d9b2258692bd4dc2b94554d255fd505c.tar.gz
gitea-7c0862b6d9b2258692bd4dc2b94554d255fd505c.zip
fix typos (#12545)
* fix typo in app.ini * fix typo in git hook module Co-authored-by: techknowlogick <techknowlogick@gitea.io>
-rw-r--r--custom/conf/app.example.ini2
-rw-r--r--modules/git/hook.go2
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)