Skip to content

Commit 844782b

Browse files
committed
fixup??? mingw: support long paths
The `git_config_get_bool()` function is no more... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7c32334 commit 844782b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/mingw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ int are_long_paths_enabled(void)
295295

296296
if (the_repository->config &&
297297
the_repository->config->hash_initialized &&
298-
git_config_get_bool("core.longpaths", &enabled) < 0)
298+
repo_config_get_bool(the_repository, "core.longpaths", &enabled) < 0)
299299
enabled = 0;
300300
}
301301

0 commit comments

Comments
 (0)