8000 Fix CanCancelCheckoutThroughNotifyCallback() · pmiossec/libgit2sharp@5d8aa7a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5d8aa7a

Browse files
committed
Fix CanCancelCheckoutThroughNotifyCallback()
1 parent c91616a commit 5d8aa7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp/Core/Proxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,7 @@ public void Dispose()
28292829
/// <returns></returns>
28302830
internal static int ConvertResultToCancelFlag(bool result)
28312831
{
2832-
return result ? 0 : -1;
2832+
return result ? 0 : (int)GitErrorCode.User;
28332833
}
28342834
}
28352835
}

0 commit comments

Comments
 (0)
0