diff options
author | Calvin Wan <calvinwan@google.com> | 2023-09-30 00:20:50 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-30 01:14:56 +0300 |
commit | e16be13cfaf1102340c7816d14cec2009a864faf (patch) | |
tree | 69112331c66161daef19e4af91c713cc22b198f0 /parse.h | |
parent | afd2a1d5f1fc371fe1fda0ed07e0f2f27100fbab (diff) |
config: correct bad boolean env value error message
An incorrectly defined boolean environment value would result in the
following error message:
bad boolean config value '%s' for '%s'
This is a misnomer since environment value != config value. Instead of
calling git_config_bool() to parse the environment value, mimic the
functionality inside of git_config_bool() but with the correct error
message.
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'parse.h')
0 files changed, 0 insertions, 0 deletions