From: Ramsay Jones Date: Tue, 31 May 2011 17:23:42 +0000 (+0100) Subject: config.c: Remove unused git_config_global() function X-Git-Tag: v1.7.6-rc0~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=766d6268c6af14970744f69c574e4b34ec056106;p=git.git config.c: Remove unused git_config_global() function Commit 8f323c00 (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 Signed-off-by: Junio C Hamano --- diff --git a/config.c b/config.c index a8267e926..e0b3b80d9 100644 --- a/config.c +++ b/config.c @@ -825,11 +825,6 @@ int git_config_system(void) return !git_env_bool("GIT_CONFIG_NOSYSTEM", 0); } -int git_config_global(void) -{ - return !git_env_bool("GIT_CONFIG_NOGLOBAL", 0); -} - int git_config_early(config_fn_t fn, void *data, const char *repo_config) { int ret = 0, found = 0;