]> git.ipfire.org Git - thirdparty/git.git/commit
environ: explain Boolean environment variables
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2022 16:06:56 +0000 (09:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2022 18:34:51 +0000 (11:34 -0700)
commit80f0b3f397d6467cb6f6fc9456b867aaffdc9b8c
treead533e137c0fe9f004eaeaf6101d78df63a17a73
parent29491ca5fd8dcc4d60b985548c133756590b4b8a
environ: explain Boolean environment variables

Many environment variables use the git_env_bool() API to parse their
values, and allow the usual "true/yes/on are true, false/no/off are
false. In addition non-zero numbers are true and zero is false.  An
empty string is also false." set of values.

Mark them as such, and consistently say "true" or "false", instead
of random mixes of '1', '0', 'yes', 'true', etc. in their
description.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt