summaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-19 03:47:55 +0200
committerJunio C Hamano <gitster@pobox.com>2017-09-19 03:47:55 +0200
commitc39da2c08ecc7f3186d83c4fc733401ee98df67f (patch)
tree67a532b9f4a891d70b5493df9d6e42d2631aea31 /config.c
parentMerge branch 'jk/system-path-cleanup' (diff)
parentconfig: remove git_config_maybe_bool (diff)
downloadgit-c39da2c08ecc7f3186d83c4fc733401ee98df67f.tar.xz
git-c39da2c08ecc7f3186d83c4fc733401ee98df67f.zip
Merge branch 'ma/remove-config-maybe-bool'
Finishing touches to a recent topic. * ma/remove-config-maybe-bool: config: remove git_config_maybe_bool
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 7931182a54..cd5a69e630 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);