config: remove git_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>
This commit is contained in:

committed by
Junio C Hamano

parent
bdfcdefd2f
commit
d389028695
5
config.c
5
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);
|
||||
|
Reference in New Issue
Block a user