diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-09-15 09:06:57 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-09-15 11:34:51 -0700 |
| commit | fd01795beb1bda7aa738b443bcb01cc9df70059a (patch) | |
| tree | 66fceda921750dcac253ccdaa5d7e60f93ae792f /gitweb/static/js/javascript-detection.js | |
| parent | environ: explain Boolean environment variables (diff) | |
| download | git-fd01795beb1bda7aa738b443bcb01cc9df70059a.tar.gz git-fd01795beb1bda7aa738b443bcb01cc9df70059a.zip | |
environ: GIT_FLUSH should be made a usual Boolean
This uses atoi() and checks if the result is not zero to decide what
to do. Turning it into the usual Boolean environment variable to
use git_env_bool() would not break those who have been using "set to
0, or set to non-zero, that can be parsed with atoi()" values, but
will match the expectation of those who expected "true" to mean
"yes".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions
