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 /modules/git | |
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>
Diffstat (limited to 'modules/git')
-rw-r--r-- | modules/git/hook.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |