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);