mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-30 06:40:42 +00:00
code_style: general cleanup (#1415)
* code_style: general cleanup * code_style: whitespace cleanup
This commit is contained in:
parent
35eda489be
commit
ffac71b15f
89 changed files with 161 additions and 243 deletions
|
@ -9,7 +9,7 @@ namespace SourceGit.ViewModels
|
|||
get;
|
||||
}
|
||||
|
||||
public Models.Branch RemoteBrach
|
||||
public Models.Branch RemoteBranch
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ namespace SourceGit.ViewModels
|
|||
{
|
||||
_repo = repo;
|
||||
LocalBranch = localBranch;
|
||||
RemoteBrach = remoteBranch;
|
||||
RemoteBranch = remoteBranch;
|
||||
}
|
||||
|
||||
public override Task<bool> Sure()
|
||||
|
@ -54,7 +54,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
if (DiscardLocalChanges)
|
||||
{
|
||||
succ = new Commands.Checkout(_repo.FullPath).Use(log).Branch(LocalBranch.Name, RemoteBrach.Head, true, true);
|
||||
succ = new Commands.Checkout(_repo.FullPath).Use(log).Branch(LocalBranch.Name, RemoteBranch.Head, true, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -72,7 +72,7 @@ namespace SourceGit.ViewModels
|
|||
needPopStash = true;
|
||||
}
|
||||
|
||||
succ = new Commands.Checkout(_repo.FullPath).Use(log).Branch(LocalBranch.Name, RemoteBrach.Head, false, true);
|
||||
succ = new Commands.Checkout(_repo.FullPath).Use(log).Branch(LocalBranch.Name, RemoteBranch.Head, false, true);
|
||||
}
|
||||
|
||||
if (succ)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue