diff options
author | Dave Borowitz <dborowitz@google.com> | 2015-08-19 11:26:44 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-19 12:43:22 -0700 |
commit | 9a549d4397a624a819e881137c519d0ca61fe7e8 (patch) | |
tree | febb1cc17a5f6c8a1048e264adfabaf68d15bbd7 /builtin/stripspace.c | |
parent | transport: remove git_transport_options.push_cert (diff) | |
download | tgif-9a549d4397a624a819e881137c519d0ca61fe7e8.tar.xz |
config.c: rename git_config_maybe_bool_text and export it as git_parse_maybe_bool
This helper function does not complain about the config variable
but just silently reports failure to the caller. It is useful for
callers that need to parse any string that could be boolean or other
string (e.g. tristate yes/no/auto).
Signed-off-by: Dave Borowitz <dborowitz@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/stripspace.c')
0 files changed, 0 insertions, 0 deletions