mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
style(Clone.xaml.cs): 使代码风格保持一致
This commit is contained in:
parent
6125c17354
commit
3128deea2c
1 changed files with 6 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue