Skip to content

Commit 766d626

Browse files
Ramsay Jonesgitster
authored andcommitted
config.c: Remove unused git_config_global() function
Commit 8f323c0 (drop support for GIT_CONFIG_NOGLOBAL, 15-03-2011) removed the git_config_global() function, among other things, since it is no longer required. Unfortunately, this function has since been unintentionally restored by a faulty conflict resolution. Remove it. Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d98a201 commit 766d626

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

config.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -825,11 +825,6 @@ int git_config_system(void)
825825
return !git_env_bool("GIT_CONFIG_NOSYSTEM", 0);
826826
}
827827

828-
int git_config_global(void)
829-
{
830-
return !git_env_bool("GIT_CONFIG_NOGLOBAL", 0);
831-
}
832-
833828
int git_config_early(config_fn_t fn, void *data, const char *repo_config)
834829
{
835830
int ret = 0, found = 0;

0 commit comments

Comments
 (0)