Skip to content

Commit b8f4640

Browse files
committed
Fix some ambiguous references in the xml documentation
1 parent c37d818 commit b8f4640

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

LibGit2Sharp/Repository.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.IO;
32
using LibGit2Sharp.Core;
43
using LibGit2Sharp.Core.Compat;
54

@@ -172,7 +171,7 @@ protected virtual void Dispose(bool disposing)
172171
/// </summary>
173172
/// <param name = "path">The path to the working folder when initializing a standard ".git" repository. Otherwise, when initializing a bare repository, the path to the expected location of this later.</param>
174173
/// <param name = "isBare">true to initialize a bare repository. False otherwise, to initialize a standard ".git" repository.</param>
175-
/// <returns> a new instance of the <see cref = "Repository" /> class. The client code is responsible for calling <see cref="Dispose"/> on this instance.</returns>
174+
/// <returns> a new instance of the <see cref = "Repository" /> class. The client code is responsible for calling <see cref="Dispose()"/> on this instance.</returns>
176175
public static Repository Init(string path, bool isBare = false)
177176
{
178177
Ensure.ArgumentNotNullOrEmptyString(path, "path");

LibGit2Sharp/RepositoryExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static Branch CreateBranch(this Repository repository, string branchName,
104104
/// </summary>
105105
/// <param name = "repository">The <see cref = "Repository" /> being worked with.</param>
106106
/// <param name = "message">The description of why a change was made to the repository.</param>
107-
/// <param name="amendPreviousCommit">True to amend the current <see cref="Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
107+
/// <param name="amendPreviousCommit">True to amend the current <see cref="LibGit2Sharp.Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
108108
/// <returns>The generated <see cref = "LibGit2Sharp.Commit" />.</returns>
109109
public static Commit Commit(this Repository repository, string message, bool amendPreviousCommit = false)
110110
{
@@ -120,7 +120,7 @@ public static Commit Commit(this Repository repository, string message, bool ame
120120
/// <param name = "repository">The <see cref = "Repository" /> being worked with.</param>
121121
/// <param name = "author">The <see cref = "Signature" /> of who made the change.</param>
122122
/// <param name = "message">The description of why a change was made to the repository.</param>
123-
/// <param name="amendPreviousCommit">True to amend the current <see cref="Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
123+
/// <param name="amendPreviousCommit">True to amend the current <see cref="LibGit2Sharp.Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
124124
/// <returns>The generated <see cref = "LibGit2Sharp.Commit" />.</returns>
125125
public static Commit Commit(this Repository repository, string message, Signature author, bool amendPreviousCommit = false)
126126
{
@@ -136,7 +136,7 @@ public static Commit Commit(this Repository repository, string message, Signatur
136136
/// <param name = "author">The <see cref = "Signature" /> of who made the change.</param>
137137
/// <param name = "committer">The <see cref = "Signature" /> of who added the change to the repository.</param>
138138
/// <param name = "message">The description of why a change was made to the repository.</param>
139-
/// <param name="amendPreviousCommit">True to amend the current <see cref="Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
139+
/// <param name="amendPreviousCommit">True to amend the current <see cref="LibGit2Sharp.Commit"/> pointed at by <see cref="Repository.Head"/>, false otherwise.</param>
140140
/// <returns>The generated <see cref = "LibGit2Sharp.Commit" />.</returns>
141141
public static Commit Commit(this Repository repository, string message, Signature author, Signature committer, bool amendPreviousCommit = false)
142142
{

0 commit comments

Comments
 (0)