mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
style(Clone.xaml.cs): 使代码风格保持一致
This commit is contained in:
@@ -23,8 +23,8 @@ namespace SourceGit.UI {
|
||||
/// <summary>
|
||||
/// Local name.
|
||||
/// </summary>
|
||||
public string LocalName { get; set; }
|
||||
|
||||
public string LocalName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Remote name.
|
||||
/// </summary>
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user