From 417ae6d7b27e0869a03a68d0d486c70e1c68c907 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 3 Apr 2008 15:47:21 +0200 Subject: [PATCH] Rename load_repo_config() to load_git_config() --- tig.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tig.c b/tig.c index 39cc340..551100f 100644 --- a/tig.c +++ b/tig.c @@ -5621,7 +5621,7 @@ read_repo_config_option(char *name, size_t namelen, char *value, size_t valuelen } static int -load_repo_config(void) +load_git_config(void) { return read_properties(popen(GIT_CONFIG " --list", "r"), "=", read_repo_config_option); @@ -5776,9 +5776,7 @@ main(int argc, char *argv[]) if (load_options() == ERR) die("Failed to load user config."); - /* Load the repo config file so options can be overwritten from - * the command line. */ - if (load_repo_config() == ERR) + if (load_git_config() == ERR) die("Failed to load repo config."); if (!parse_options(argc, argv)) -- 2.30.2