diff options
author | Lay <lei4519@126.com> | 2022-05-30 13:52:39 +0800 |
---|---|---|
committer | Lay <lei4519@126.com> | 2022-05-30 13:52:39 +0800 |
commit | 666180cfd02f7ff69faa7425caa5eef358955827 (patch) | |
tree | a1d595e2cfc7dadfbf7d69baf7e3c8a918dbbdd0 /pkg/config/user_config.go | |
parent | 8fd9dea6414a9b35af5b173854f90275229a460a (diff) |
Add config param that displays the whole git graph by default
Diffstat (limited to 'pkg/config/user_config.go')
-rw-r--r-- | pkg/config/user_config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 6ff3b36a1..1e42b0e15 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -106,6 +106,7 @@ type MergingConfig struct { type LogConfig struct { Order string `yaml:"order"` // one of date-order, author-date-order, topo-order ShowGraph string `yaml:"showGraph"` // one of always, never, when-maximised + ShowWholeGraph bool `yaml:"showWholeGraph"` } type CommitPrefixConfig struct { @@ -385,6 +386,7 @@ func GetDefaultConfig() *UserConfig { Log: LogConfig{ Order: "topo-order", ShowGraph: "when-maximised", + ShowWholeGraph: false, }, SkipHookPrefix: "WIP", AutoFetch: true, |