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

Skip to content

Commit c240ffe

Browse files
committed
GitObject.Peel: make it virtual
1 parent 6981ab2 commit c240ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/GitObject.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ internal T Peel<T>(bool throwOnError) where T : GitObject
117117
/// </summary>
118118
/// <typeparam name="T">The kind of <see cref="GitObject"/> to peel to.</typeparam>
119119
/// <returns>The peeled object</returns>
120-
public T Peel<T>() where T : GitObject
120+
public virtual T Peel<T>() where T : GitObject
121121
{
122122
return Peel<T>(true);
123123
}

0 commit comments

Comments
 (0)