diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -728,11 +728,6 @@ static int git_parse_maybe_bool_text(const char *value) int git_parse_maybe_bool(const char *value) { - return git_parse_maybe_bool_text(value); -} - -int git_config_maybe_bool(const char *name, const char *value) -{ int v = git_parse_maybe_bool_text(value); if (0 <= v) return v; @@ -741,6 +736,11 @@ int git_config_maybe_bool(const char *name, const char *value) return -1; } +int git_config_maybe_bool(const char *name, const char *value) +{ + return git_parse_maybe_bool(value); +} + int git_config_bool_or_int(const char *name, const char *value, int *is_bool) { int v = git_parse_maybe_bool_text(value); |