aboutsummaryrefslogtreecommitdiff
path: root/git_init.go
diff options
context:
space:
mode:
Diffstat (limited to 'git_init.go')
-rw-r--r--git_init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_init.go b/git_init.go
index b448451..d1922ee 100644
--- a/git_init.go
+++ b/git_init.go
@@ -23,7 +23,7 @@ func (s *Server) gitInit(repoPath string) (err error) {
return err
}
- gitConf.Raw.SetOption("core", gitFmtConfig.NoSubsection, "hooksPath", s.Config.Hooks.Execs)
+ gitConf.Raw.SetOption("core", gitFmtConfig.NoSubsection, "hooksPath", s.config.Hooks.Execs)
gitConf.Raw.SetOption("receive", gitFmtConfig.NoSubsection, "advertisePushOptions", "true")
if err = repo.SetConfig(gitConf); err != nil {