diff options
author | Calvin Wan <calvinwan@google.com> | 2023-09-29 23:20:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-30 00:14:56 +0200 |
commit | e16be13cfaf1102340c7816d14cec2009a864faf (patch) | |
tree | 69112331c66161daef19e4af91c713cc22b198f0 /config.h | |
parent | wrapper: reduce scope of remove_or_warn() (diff) | |
download | git-e16be13cfaf1102340c7816d14cec2009a864faf.tar.xz git-e16be13cfaf1102340c7816d14cec2009a864faf.zip |
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 'config.h')
0 files changed, 0 insertions, 0 deletions