From 3128deea2c21288d04ec268325322fa72db9da48 Mon Sep 17 00:00:00 2001
From: ZCShou <72115@163.com>
Date: Fri, 24 Jul 2020 21:32:11 +0800
Subject: [PATCH] =?UTF-8?q?style(Clone.xaml.cs):=20=E4=BD=BF=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E9=A3=8E=E6=A0=BC=E4=BF=9D=E6=8C=81=E4=B8=80=E8=87=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SourceGit/UI/Clone.xaml.cs | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
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;
}