summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2017-09-05 20:39:59 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-07 09:48:20 +0900
commitd389028695940f74c62e2d8207432feb96f4262a (patch)
treed163085b6570315331de6f962d7b53e22d990b1b /config.c
parentbdfcdefd2f0587873436c950dd7a0798d313eb34 (diff)
downloadgit-d389028695940f74c62e2d8207432feb96f4262a.tar.gz
config: remove git_config_maybe_boolma/remove-config-maybe-bool
The function was deprecated in commit 89576613 ("treewide: deprecate git_config_maybe_bool, use git_parse_maybe_bool", 2017-08-07) and has no users. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/config.c b/config.c
index 777527daef..f49cd2a014 100644
--- a/config.c
+++ b/config.c
@@ -956,11 +956,6 @@ int git_parse_maybe_bool(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);