Skip to content

Commit 5d543a2

Browse files
author
Cameron Way
committed
Clean up and formatting
1 parent f9eeaa5 commit 5d543a2

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

pkg/config/app_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ type AppState struct {
694694
// This determines whether the git graph is rendered in the commits panel
695695
// One of 'always' | 'never' | 'when-maximised'
696696
GitLogShowGraph string
697-
// This determines whether the git graph is rendered in the commits panel
697+
// This determines whether the commit tags are rendered in the commits panel
698698
// One of 'always' | 'never' | 'when-maximised'
699699
GitLogShowTags string
700700
}
@@ -711,7 +711,7 @@ func getDefaultAppState() *AppState {
711711
RemoteBranchSortOrder: "alphabetical",
712712
GitLogOrder: "", // should be "topo-order" eventually
713713
GitLogShowGraph: "", // should be "always" eventually
714-
GitLogShowTags: "", // should be "always" eventually
714+
GitLogShowTags: "", // should be "always" eventually
715715
}
716716
}
717717

pkg/config/app_config_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,6 @@ gui:
520520
# Deprecated: use nerdFontsVersion instead
521521
showIcons: false
522522
523-
# If true, show tags alognside commit summary in the commits view.
524-
showCommitTags: true
525-
526523
# Nerd fonts version to use.
527524
# One of: '2' | '3' | empty string (default)
528525
# If empty, do not show icons.

pkg/config/user_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ func GetDefaultConfig() *UserConfig {
817817
Order: "topo-order",
818818
ShowGraph: "always",
819819
ShowWholeGraph: false,
820-
ShowTags: "always",
820+
ShowTags: "always",
821821
},
822822
SkipHookPrefix: "WIP",
823823
MainBranches: []string{"master", "main"},

pkg/i18n/english.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ type TranslationSet struct {
779779
LogMenuTitle string
780780
ToggleShowGitGraphAll string
781781
ShowGitGraph string
782-
ShowTags string
782+
ShowTags string
783783
SortOrder string
784784
SortAlphabetical string
785785
SortByDate string
@@ -1869,7 +1869,7 @@ func EnglishTranslationSet() *TranslationSet {
18691869
LogMenuTitle: "Commit Log Options",
18701870
ToggleShowGitGraphAll: "Toggle show whole git graph (pass the `--all` flag to `git log`)",
18711871
ShowGitGraph: "Show git graph",
1872-
ShowTags: "Show tags",
1872+
ShowTags: "Show tags",
18731873
SortOrder: "Sort order",
18741874
SortAlphabetical: "Alphabetical",
18751875
SortByDate: "Date",

0 commit comments

Comments
 (0)