aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 22:01:08 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 22:01:31 +0800
commitfa62d8eae273d89937d65d6a294f028e1ce22d88 (patch)
tree226d5fab65927ef977b664a35e6a2b2f30169440 /config.go
parentgroup: Add description field to the create repo form (diff)
downloadforge-fa62d8eae273d89937d65d6a294f028e1ce22d88.tar.gz
forge-fa62d8eae273d89937d65d6a294f028e1ce22d88.tar.zst
forge-fa62d8eae273d89937d65d6a294f028e1ce22d88.zip
group/index: Allow repo creation via web
Diffstat (limited to '')
-rw-r--r--config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.go b/config.go
index cba35d5..8ed0d01 100644
--- a/config.go
+++ b/config.go
@@ -28,6 +28,9 @@ var config struct {
Socket string `scfg:"socket"`
Execs string `scfg:"execs"`
} `scfg:"hooks"`
+ Git struct {
+ RepoDir string `scfg:"repo_dir"`
+ } `scfg:"git"`
SSH struct {
Net string `scfg:"net"`
Addr string `scfg:"addr"`