From 894cf6f88a640c2bc796caa3c61e5b7ed787683b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 17 Feb 2025 11:03:53 +0800 Subject: git_init.go: git_bare_init_with_default_hooks --- config.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config.go') diff --git a/config.go b/config.go index 45550d7..13ae7e9 100644 --- a/config.go +++ b/config.go @@ -21,9 +21,10 @@ var config struct { CookieExpiry int `scfg:"cookie_expiry"` Root string `scfg:"root"` } `scfg:"http"` - Git struct { - HooksSocket string `scfg:"hooks_socket"` - } `scfg:"git"` + Hooks struct { + Socket string `scfg:"socket"` + Execs string `scfg:"execs"` + } `scfg:"hooks"` SSH struct { Net string `scfg:"net"` Addr string `scfg:"addr"` -- cgit v1.2.3