Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 048ab3c

Browse files
dahlbyknulltoken
authored andcommitted
Add missing XML comments
1 parent 549a80c commit 048ab3c

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

LibGit2Sharp/FetchHead.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ internal FetchHead(Repository repo, string remoteCanonicalName,
2626
RemoteCanonicalName = remoteCanonicalName;
2727
}
2828

29+
/// <summary>
30+
/// Returns "FETCH_HEAD[i]", where i is the index of this fetch head.
31+
/// </summary>
2932
protected override string Shorten()
3033
{
3134
return CanonicalName;

LibGit2Sharp/MergeHead.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public virtual Commit Tip
2626
get { return TargetObject; }
2727
}
2828

29+
/// <summary>
30+
/// Returns "MERGE_HEAD[i]", where i is the index of this merge head.
31+
/// </summary>
2932
protected override string Shorten()
3033
{
3134
return CanonicalName;

LibGit2Sharp/Reference.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public abstract class Reference : IEquatable<Reference>
2424
protected Reference()
2525
{ }
2626

27+
/// <summary>
28+
/// Initializes a new instance of the <see cref = "Reference" /> class.
29+
/// </summary>
30+
/// <param name="canonicalName">The canonical name.</param>
31+
/// <param name="targetIdentifier">The target identifier.</param>
2732
protected Reference(string canonicalName, string targetIdentifier)
2833
{
2934
this.canonicalName = canonicalName;

0 commit comments

Comments
 (0)