8000
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.
1 parent 2c98992 commit 1de917eCopy full SHA for 1de917e
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