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
@ -710,7 +710,7 @@ int cmd_config(int argc, const char **argv, const char *prefix)
|
||||
if (use_global_config) {
|
||||
char *user_config, *xdg_config;
|
||||
|
||||
git_global_config(&user_config, &xdg_config);
|
||||
git_global_config_paths(&user_config, &xdg_config);
|
||||
if (!user_config)
|
||||
/*
|
||||
* It is unknown if HOME/.gitconfig exists, so
|
||||
|
Reference in New Issue
Block a user