Skip to content

Commit 316da3b

Browse files
committed
Formatting tweaks
1 parent 15fbe8e commit 316da3b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

LibGit2Sharp/Commands/Checkout.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ public static Branch Checkout(IRepository repository, string committishOrBranchS
6161
{
6262
branch = repository.CreateBranch(committishOrBranchSpec, remoteBranches[0].Tip);
6363
repository.Branches.Update(branch, b => b.TrackedBranch = remoteBranches[0].CanonicalName);
64+
6465
return Checkout(repository, branch, options);
6566
}
6667

6768
if (remoteBranches.Count > 1)
68-
throw new AmbiguousSpecificationException(
69-
$"'{committishOrBranchSpec}' matched multiple ({remoteBranches.Count}) remote tracking branches");
69+
{
70+
throw new AmbiguousSpecificationException($"'{committishOrBranchSpec}' matched multiple ({remoteBranches.Count}) remote tracking branches");
71+
}
7072

7173
throw;
7274
}

LibGit2Sharp/Commands/Remove.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
using System.Linq;
1+
using System.Collections.Generic;
22
using System.IO;
3-
using System.Collections.Generic;
4-
using LibGit2Sharp;
3+
using System.Linq;
54
using LibGit2Sharp.Core;
65

76
namespace LibGit2Sharp

0 commit comments

Comments
 (0)