summaryrefslogtreecommitdiffstats
path: root/modules/git
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 /modules/git
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>
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/hook.go2
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)