10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c98992 + 1de917e commit 7202df7Copy full SHA for 7202df7
LibGit2Sharp/Core/Handles/OidSafeHandle.cs
@@ -7,7 +7,7 @@ internal class OidSafeHandle : NotOwnedSafeHandleBase
7
{
8
private GitOid? MarshalAsGitOid()
9
10
- return IsInvalid ? null : (GitOid?)MarshalAsGitOid(handle);
+ return IsZero || IsInvalid ? null : (GitOid?)MarshalAsGitOid(handle);
11
}
12
13
private static GitOid MarshalAsGitOid(IntPtr data)
0 commit comments