diff options
author | zeripath <art27@cantab.net> | 2019-12-25 15:44:57 +0000 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-12-25 23:44:57 +0800 |
commit | 3e166bd0550eceade275023616a02a8bf12d58c9 (patch) | |
tree | 7500cafa6a9b8ec65939919bc9c63a3bb50f2851 /cmd/hook.go | |
parent | 8b2f29c0d2e571b45f004646d3b5e6bac1c2c419 (diff) | |
download | gitea-3e166bd0550eceade275023616a02a8bf12d58c9.tar.gz gitea-3e166bd0550eceade275023616a02a8bf12d58c9.zip |
Add debug option to serv to help debug problems (#9492)
* Add debug option to serv to help debug problems
* fixup! Add debug option to serv to help debug problems
Diffstat (limited to 'cmd/hook.go')
-rw-r--r-- | cmd/hook.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/hook.go b/cmd/hook.go index 9f547362da..7e45304841 100644 --- a/cmd/hook.go +++ b/cmd/hook.go @@ -65,7 +65,7 @@ Gitea or set your environment appropriately.`, "") } } - setup("hooks/pre-receive.log") + setup("hooks/pre-receive.log", false) // the environment setted on serv command isWiki := (os.Getenv(models.EnvRepoIsWiki) == "true") @@ -131,7 +131,7 @@ Gitea or set your environment appropriately.`, "") } } - setup("hooks/update.log") + setup("hooks/update.log", false) return nil } @@ -147,7 +147,7 @@ Gitea or set your environment appropriately.`, "") } } - setup("hooks/post-receive.log") + setup("hooks/post-receive.log", false) // the environment setted on serv command repoUser := os.Getenv(models.EnvRepoUsername) |