diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-17 11:03:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-17 11:03:53 +0800 |
commit | 894cf6f88a640c2bc796caa3c61e5b7ed787683b (patch) | |
tree | 3381b3e2aeb9d740c191edfdf670dd32ad7939c5 /config.go | |
parent | README.md: s/PGP/SSH/ for commit signature verification (diff) | |
download | forge-894cf6f88a640c2bc796caa3c61e5b7ed787683b.tar.gz forge-894cf6f88a640c2bc796caa3c61e5b7ed787683b.tar.zst forge-894cf6f88a640c2bc796caa3c61e5b7ed787683b.zip |
git_init.go: git_bare_init_with_default_hooks
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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"` |