summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fbe047c)
raw | patch | inline | side by side (parent: fbe047c)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 13:47:21 +0000 (15:47 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 3 Apr 2008 13:47:21 +0000 (15:47 +0200) |
tig.c | patch | blob | history |
index 39cc3408d118fe9f18c2354cfec9ce025793c0bb..551100f6031e2f7d1d01827ab4827dfc8f4001ff 100644 (file)
--- 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);
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))