From 03e2be207fd0f203720c95269d7d022ea139241c Mon Sep 17 00:00:00 2001 From: Gerhard Olsson Date: Sat, 30 Jul 2022 23:53:38 +0200 Subject: [PATCH] Show tags by default in side panel --- GitCommands/Settings/AppSettings.cs | 2 +- UnitTests/GitCommands.Tests/Settings/AppSettingsTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GitCommands/Settings/AppSettings.cs b/GitCommands/Settings/AppSettings.cs index 1edbcd8a05d..c636103a1d5 100644 --- a/GitCommands/Settings/AppSettings.cs +++ b/GitCommands/Settings/AppSettings.cs @@ -1861,7 +1861,7 @@ public static bool RepoObjectsTreeShowRemotes public static bool RepoObjectsTreeShowTags { - get => GetBool("RepoObjectsTree.ShowTags", false); + get => GetBool("RepoObjectsTree.ShowTags", true); set => SetBool("RepoObjectsTree.ShowTags", value); } diff --git a/UnitTests/GitCommands.Tests/Settings/AppSettingsTests.cs b/UnitTests/GitCommands.Tests/Settings/AppSettingsTests.cs index 062a585e376..d02e1f30f34 100644 --- a/UnitTests/GitCommands.Tests/Settings/AppSettingsTests.cs +++ b/UnitTests/GitCommands.Tests/Settings/AppSettingsTests.cs @@ -329,7 +329,7 @@ static IEnumerable<(PropertyInfo property, object defaultValue, bool isNullable, yield return (properties[nameof(AppSettings.DiffListSorting)], DiffListSortType.FilePath, false, false); yield return (properties[nameof(AppSettings.RepoObjectsTreeShowBranches)], true, false, false); yield return (properties[nameof(AppSettings.RepoObjectsTreeShowRemotes)], true, false, false); - yield return (properties[nameof(AppSettings.RepoObjectsTreeShowTags)], false, false, false); + yield return (properties[nameof(AppSettings.RepoObjectsTreeShowTags)], true, false, false); yield return (properties[nameof(AppSettings.RepoObjectsTreeShowSubmodules)], true, false, false); yield return (properties[nameof(AppSettings.RepoObjectsTreeBranchesIndex)], 0, false, false); yield return (properties[nameof(AppSettings.RepoObjectsTreeRemotesIndex)], 1, false, false);