summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorLay <lei4519@126.com>2022-05-30 23:19:48 +0800
committerLay <lei4519@126.com>2022-05-30 23:19:48 +0800
commit684ea284af3482bb0cf573329bec0f4c2707d3e8 (patch)
tree087357546b819d21fe21c8497f48123de786be95 /pkg/config
parentb6b3be9ac73c2d352a9128ca9865b0cb1ae6602d (diff)
fix: lint error
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/user_config.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 1e42b0e15..0b3a91bf6 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -104,9 +104,9 @@ 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"`
+ 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 {
@@ -384,8 +384,8 @@ func GetDefaultConfig() *UserConfig {
Args: "",
},
Log: LogConfig{
- Order: "topo-order",
- ShowGraph: "when-maximised",
+ Order: "topo-order",
+ ShowGraph: "when-maximised",
ShowWholeGraph: false,
},
SkipHookPrefix: "WIP",