|
|
@ -66,7 +66,6 @@ var ( |
|
|
|
func hookSetup(logPath string) { |
|
|
|
func hookSetup(logPath string) { |
|
|
|
setting.NewContext() |
|
|
|
setting.NewContext() |
|
|
|
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath)) |
|
|
|
log.NewGitLogger(filepath.Join(setting.LogRootPath, logPath)) |
|
|
|
models.LoadConfigs() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
func runHookPreReceive(c *cli.Context) error { |
|
|
|
func runHookPreReceive(c *cli.Context) error { |
|
|
|