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.
2 parents 0612134 + daeb7b8 commit 8057648Copy full SHA for 8057648
config.c
@@ -1657,9 +1657,11 @@ static int git_config_from_blob_ref(config_fn_t fn,
1657
1658
const char *git_etc_gitconfig(void)
1659
{
1660
- static const char *system_wide;
1661
- if (!system_wide)
+ static char *system_wide;
+ if (!system_wide) {
1662
system_wide = system_path(ETC_GITCONFIG);
1663
+ normalize_path_copy(system_wide, system_wide);
1664
+ }
1665
return system_wide;
1666
}
1667
0 commit comments