Add config option for notInRepo behaviour.

This commit is contained in:
Kalvin Pearce
2020-11-24 21:21:11 +10:00
committed by Jesse Duffield
parent 999e170f1d
commit d468866746
2 changed files with 16 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ type UserConfig struct {
DisableStartupPopups bool `yaml:"disableStartupPopups"`
CustomCommands []CustomCommand `yaml:"customCommands"`
Services map[string]string `yaml:"services"`
NotARepository string `yaml:"notARepository"`
}
type GuiConfig struct {
@@ -442,5 +443,6 @@ func GetDefaultConfig() *UserConfig {
DisableStartupPopups: false,
CustomCommands: []CustomCommand(nil),
Services: map[string]string(nil),
NotARepository: "prompt",
}
}