mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-17 08:24:59 +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
|
@ -71,12 +71,10 @@ namespace SourceGit.ViewModels
|
|||
}
|
||||
else if (t is Models.Commit commit)
|
||||
{
|
||||
var d = commit.Decorators.Find(x =>
|
||||
{
|
||||
return x.Type == Models.DecoratorType.LocalBranchHead ||
|
||||
x.Type == Models.DecoratorType.RemoteBranchHead ||
|
||||
x.Type == Models.DecoratorType.Tag;
|
||||
});
|
||||
var d = commit.Decorators.Find(x => x.Type is
|
||||
Models.DecoratorType.LocalBranchHead or
|
||||
Models.DecoratorType.RemoteBranchHead or
|
||||
Models.DecoratorType.Tag);
|
||||
|
||||
if (d != null)
|
||||
ret.Add(d.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue