summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6674972)
raw | patch | inline | side by side (parent: 6674972)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 28 May 2006 02:29:45 +0000 (04:29 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Sun, 28 May 2006 02:51:55 +0000 (04:51 +0200) |
load_config -> load_repo_config
read_config_option -> read_repo_config_option
read_config_option -> read_repo_config_option
tig.c | patch | blob | history |
index 6a72f7a02cb4525ab356c9e9b99c7e1c38c81e85..0d624818d276e1c42bb6bb45b7080a4555ab40c9 100644 (file)
--- a/tig.c
+++ b/tig.c
}
static int
-read_config_option(char *name, int namelen, char *value, int valuelen)
+read_repo_config_option(char *name, int namelen, char *value, int valuelen)
{
if (!strcmp(name, "i18n.commitencoding")) {
string_copy(opt_encoding, value);
}
static int
-load_config(void)
+load_repo_config(void)
{
return read_properties(popen("git repo-config --list", "r"),
- '=', read_config_option);
+ "=", read_repo_config_option);
}
static int
/* Load the repo config file first so options can be overwritten from
* the command line. */
- if (load_config() == ERR)
+ if (load_repo_config() == ERR)
die("Failed to load repo config.");
if (!parse_options(argc, argv))