summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorAndrei Yangabishev <waffleboot@gmail.com>2021-06-10 11:26:29 +0300
committerAndrei Yangabishev <waffleboot@gmail.com>2021-06-10 12:43:05 +0300
commit7588d5290b2fc05f2a33236c8b648a5aaf2d9d4a (patch)
tree117afa6080d0d4904d6a6f66f7501fe6c7c8218f /pkg/config
parent9fdf92b226032d39503dbf40ef931d5d017b4235 (diff)
ShowTotal flag
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index b36c68bb5..a30591fc0 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -35,6 +35,7 @@ type GuiConfig struct {
Theme ThemeConfig `yaml:"theme"`
CommitLength CommitLengthConfig `yaml:"commitLength"`
SkipNoStagedFilesWarning bool `yaml:"skipNoStagedFilesWarning"`
+ ShowTotal bool `yaml:"showTotal"`
ShowFileTree bool `yaml:"showFileTree"`
ShowRandomTip bool `yaml:"showRandomTip"`
ShowCommandLog bool `yaml:"showCommandLog"`
@@ -306,6 +307,7 @@ func GetDefaultConfig() *UserConfig {
},
CommitLength: CommitLengthConfig{Show: true},
SkipNoStagedFilesWarning: false,
+ ShowTotal: true,
ShowCommandLog: true,
ShowFileTree: false,
ShowRandomTip: true,