all repos — legit @ c16d290d3cb1b65ee8820e625c7096a7b303cc60

web frontend for git, written in go

add configurable check for git-daemon-export-ok file

Alan Pearce
commit

c16d290d3cb1b65ee8820e625c7096a7b303cc60

parent

5acac24dede0143e6415d83d94a66017fd3c2692

1 file changed, 6 insertions(+), 5 deletions(-)

changed files
M config/config.goconfig/config.go
@@ -10,11 +10,12 @@ )
type Config struct { Repo struct { - ScanPath string `yaml:"scanPath"` - Readme []string `yaml:"readme"` - MainBranch []string `yaml:"mainBranch"` - Ignore []string `yaml:"ignore,omitempty"` - Unlisted []string `yaml:"unlisted,omitempty"` + ScanPath string `yaml:"scanPath"` + Readme []string `yaml:"readme"` + MainBranch []string `yaml:"mainBranch"` + Ignore []string `yaml:"ignore,omitempty"` + Unlisted []string `yaml:"unlisted,omitempty"` + CheckGitDaemonExportOk bool `yaml:"checkGitDaemonExportOk"` } `yaml:"repo"` Dirs struct { Templates string `yaml:"templates"`