1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-27 12:32:37 +02:00

Cleanup: remove unused field DeafultConfFiles

It was also embarrassingly misspelled, so it's good that it's gone. :-)
This commit is contained in:
Stefan Haller 2024-07-13 18:19:38 +02:00
parent 75a95865ff
commit a19bb0bbfe

View File

@ -13,18 +13,17 @@ import (
// AppConfig contains the base configuration fields required for lazygit. // AppConfig contains the base configuration fields required for lazygit.
type AppConfig struct { type AppConfig struct {
Debug bool `long:"debug" env:"DEBUG" default:"false"` Debug bool `long:"debug" env:"DEBUG" default:"false"`
Version string `long:"version" env:"VERSION" default:"unversioned"` Version string `long:"version" env:"VERSION" default:"unversioned"`
BuildDate string `long:"build-date" env:"BUILD_DATE"` BuildDate string `long:"build-date" env:"BUILD_DATE"`
Name string `long:"name" env:"NAME" default:"lazygit"` Name string `long:"name" env:"NAME" default:"lazygit"`
BuildSource string `long:"build-source" env:"BUILD_SOURCE" default:""` BuildSource string `long:"build-source" env:"BUILD_SOURCE" default:""`
UserConfig *UserConfig UserConfig *UserConfig
UserConfigPaths []string UserConfigPaths []string
DeafultConfFiles bool UserConfigDir string
UserConfigDir string TempDir string
TempDir string AppState *AppState
AppState *AppState IsNewRepo bool
IsNewRepo bool
} }
type AppConfigurer interface { type AppConfigurer interface {