diff options
author | Success <success.go@gaodacheng.com> | 2020-08-21 01:41:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 18:41:08 +0100 |
commit | 7c0862b6d9b2258692bd4dc2b94554d255fd505c (patch) | |
tree | a35dcf3962033582975b554c1e582f46ea6b8990 | |
parent | 69a77b2a73ecb026d856a9f6f12de5839de08477 (diff) | |
download | gitea-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.ini | 2 | ||||
-rw-r--r-- | 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) |