diff options
author | Morgan Bazalgette <git@howl.moe> | 2018-01-12 23:16:49 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2018-01-12 23:16:49 +0100 |
commit | 2b52f77e1b288a1d6dec95339ef58241d0de21ed (patch) | |
tree | f2af25fbc86068f20322d3c420ab26c70de9e9ef /cmd/hook.go | |
parent | 079273e2ffceb615213409adcce6b9366de6ee41 (diff) | |
download | gitea-2b52f77e1b288a1d6dec95339ef58241d0de21ed.tar.gz gitea-2b52f77e1b288a1d6dec95339ef58241d0de21ed.zip |
General refactor of the cmd package (#3328)
* General refactor of the cmd package
* Address breakage in runCreateUser
* Place "common" functions into cmd.go
Diffstat (limited to 'cmd/hook.go')
-rw-r--r-- | cmd/hook.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hook.go b/cmd/hook.go index 9d805e4ef5..02eb30a13b 100644 --- a/cmd/hook.go +++ b/cmd/hook.go @@ -37,7 +37,7 @@ var ( }, Subcommands: []cli.Command{ subcmdHookPreReceive, - subcmdHookUpadte, + subcmdHookUpdate, subcmdHookPostReceive, }, } @@ -48,7 +48,7 @@ var ( Description: "This command should only be called by Git", Action: runHookPreReceive, } - subcmdHookUpadte = cli.Command{ + subcmdHookUpdate = cli.Command{ Name: "update", Usage: "Delegate update Git hook", Description: "This command should only be called by Git", |