diff --git a/SourceGit/UI/Clone.xaml.cs b/SourceGit/UI/Clone.xaml.cs index 957f828b..658a5c1b 100644 --- a/SourceGit/UI/Clone.xaml.cs +++ b/SourceGit/UI/Clone.xaml.cs @@ -23,8 +23,8 @@ namespace SourceGit.UI { /// /// Local name. /// - public string LocalName { get; set; } - + public string LocalName { get; set; } + /// /// Remote name. /// @@ -82,15 +82,12 @@ namespace SourceGit.UI { repoName = name.Replace(".git", ""); } else { repoName = LocalName; - } - + } + string rName; - if (string.IsNullOrWhiteSpace(RemoteName)) - { + if (string.IsNullOrWhiteSpace(RemoteName)){ rName = null; - } - else - { + } else { rName = RemoteName; }