summaryrefslogtreecommitdiffstats
path: root/modules/git/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/hook.go')
-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)