Skip to content

Commit d9e5970

Browse files
committed
Merge pull request #1209 from LokiMidgard/patch-1
Clearification of return value.
2 parents 78cad1d + 57d1b14 commit d9e5970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ public static IEnumerable<Reference> ListRemoteReferences(string url, Credential
604604
/// <para>The lookup start from <paramref name="startingPath"/> and walk upward parent directories if nothing has been found.</para>
605605
/// </summary>
606606
/// <param name="startingPath">The base path where the lookup starts.</param>
607-
/// <returns>The path to the git repository.</returns>
607+
/// <returns>The path to the git repository, or null if no repository was found.</returns>
608608
public static string Discover(string startingPath)
609609
{
610610
FilePath discoveredPath = Proxy.git_repository_discover(startingPath);

0 commit comments

Comments
 (0)