diff --git a/SourceGit/Git/Branch.cs b/SourceGit/Git/Branch.cs index 05375b95..5410c9b6 100644 --- a/SourceGit/Git/Branch.cs +++ b/SourceGit/Git/Branch.cs @@ -26,27 +26,27 @@ namespace SourceGit.Git { /// /// Branch name /// - public string Name { get; set; } + public string Name { get; set; } = ""; /// /// Full name. /// - public string FullName { get; set; } + public string FullName { get; set; } = ""; /// /// Head ref /// - public string Head { get; set; } + public string Head { get; set; } = ""; /// /// Subject for head ref. /// - public string HeadSubject { get; set; } + public string HeadSubject { get; set; } = ""; /// /// Is local branch /// - public bool IsLocal { get; set; } + public bool IsLocal { get; set; } = false; /// /// Branch type. @@ -56,7 +56,7 @@ namespace SourceGit.Git { /// /// Remote name. Only used for remote branch /// - public string Remote { get; set; } + public string Remote { get; set; } = ""; /// /// Upstream. Only used for local branches. diff --git a/SourceGit/UI/Dashboard.xaml b/SourceGit/UI/Dashboard.xaml index b09f1b5e..478e14fb 100644 --- a/SourceGit/UI/Dashboard.xaml +++ b/SourceGit/UI/Dashboard.xaml @@ -445,12 +445,17 @@ + +