Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'LibGit2Sharp/Branch.cs')
-rw-r--r--LibGit2Sharp/Branch.cs12
1 files changed, 5 insertions, 7 deletions
diff --git a/LibGit2Sharp/Branch.cs b/LibGit2Sharp/Branch.cs
index bb8c45c6..905d9413 100644
--- a/LibGit2Sharp/Branch.cs
+++ b/LibGit2Sharp/Branch.cs
@@ -25,8 +25,7 @@ namespace LibGit2Sharp
/// <param name="canonicalName">The full name of the reference</param>
internal Branch(Repository repo, Reference reference, string canonicalName)
: this(repo, reference, _ => canonicalName)
- {
- }
+ { }
/// <summary>
/// Initializes a new instance of an orphaned <see cref="Branch"/> class.
@@ -38,8 +37,7 @@ namespace LibGit2Sharp
/// <param name="reference">The reference.</param>
internal Branch(Repository repo, Reference reference)
: this(repo, reference, r => r.TargetIdentifier)
- {
- }
+ { }
private Branch(Repository repo, Reference reference, Func<Reference, string> canonicalNameSelector)
: base(repo, reference, canonicalNameSelector)
@@ -264,9 +262,9 @@ namespace LibGit2Sharp
return CanonicalName.Substring(Reference.RemoteTrackingBranchPrefix.Length);
}
- throw new ArgumentException(
- string.Format(CultureInfo.InvariantCulture,
- "'{0}' does not look like a valid branch name.", CanonicalName));
+ throw new ArgumentException(string.Format(CultureInfo.InvariantCulture,
+ "'{0}' does not look like a valid branch name.",
+ CanonicalName));
}
}
}