" -l Start up in log view\n"
" -d Start up in diff view\n"
" -n[I], --line-number[=I] Show line numbers with given interval\n"
-" -t[N], --tab-size[=N] Set number of spaces for tab expansion\n"
+" -b[N], --tab-size[=N] Set number of spaces for tab expansion\n"
" -- Mark end of tig options\n"
" -v, --version Show version and exit\n"
" -h, --help Show help message and exit\n";
}
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))