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 7331a53 + c42e98d commit 9db8a6bCopy full SHA for 9db8a6b
config.c
@@ -1662,9 +1662,11 @@ static int git_config_from_blob_ref(config_fn_t fn,
1662
1663
const char *git_etc_gitconfig(void)
1664
{
1665
- static const char *system_wide;
1666
- if (!system_wide)
+ static char *system_wide;
+ if (!system_wide) {
1667
system_wide = system_path(ETC_GITCONFIG);
1668
+ normalize_path_copy(system_wide, system_wide);
1669
+ }
1670
return system_wide;
1671
}
1672
0 commit comments