config: rename global config function
Rename this function to a more descriptive name since we want to use the existing name for a new function. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
4ef97dc4cd
commit
ecffa3ed51
@ -90,7 +90,7 @@ static char *git_config_val_global(int ident_flag UNUSED)
|
||||
char *user, *xdg;
|
||||
size_t unused;
|
||||
|
||||
git_global_config(&user, &xdg);
|
||||
git_global_config_paths(&user, &xdg);
|
||||
if (xdg && *xdg) {
|
||||
normalize_path_copy(xdg, xdg);
|
||||
strbuf_addf(&buf, "%s\n", xdg);
|
||||
|
||||
Reference in New Issue
Block a user