8000 NativeMethods: correct `EnableCaching` option name · jianges/libgit2sharp@6e58eb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e58eb6

Browse files
committed
NativeMethods: correct EnableCaching option name
1 parent 72fa368 commit 6e58eb6

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
@@ -3425,7 +3425,7 @@ public static void git_libgit2_opts_set_search_path(ConfigurationLevel level, st
34253425
public static void git_libgit2_opts_set_enable_caching(bool enabled)
34263426
{
34273427
// libgit2 expects non-zero value for true
3428-
var res = NativeMethods.git_libgit2_opts((int)LibGitOption.EnableCaching, enabled ? 1 : 0);
3428+
var res = NativeMethods.git_libgit2_opts((int)LibGit2Option.EnableCaching, enabled ? 1 : 0);
34293429
Ensure.ZeroResult(res);
34303430
}
34313431

0 commit comments

Comments
 (0)
0