Skip to content

Commit

Permalink
config.c: Remove unused git_config_global() function
Browse files Browse the repository at this point in the history
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 <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed May 31, 2011
1 parent d98a201 commit 766d626
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 766d626

Please sign in to comment.