Skip to content

Commit 0efd86d

Browse files
committed
fixup! mingw: ensure that core.longPaths is handled *always*
Like `git init`, we also want to parse `core.symlinks` in the other built-ins like `git clone`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9ad3d10 commit 0efd86d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin/clone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
990990
struct transport_ls_refs_options transport_ls_refs_options =
991991
TRANSPORT_LS_REFS_OPTIONS_INIT;
992992

993-
git_config(platform_core_config, NULL);
993+
git_config(git_default_core_config, NULL);
994994

995995
packet_trace_identity("clone");
996996

builtin/column.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int cmd_column(int argc, const char **argv, const char *prefix)
3434
OPT_END()
3535
};
3636

37-
git_config(platform_core_config, NULL);
37+
git_config(git_default_core_config, NULL);
3838

3939
/* This one is special and must be the first one */
4040
if (argc > 1 && starts_with(argv[1], "--command=")) {

0 commit comments

Comments
 (0)