From fd01795beb1bda7aa738b443bcb01cc9df70059a Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 15 Sep 2022 09:06:57 -0700 Subject: 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 --- Documentation/git.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'Documentation/git.txt') diff --git a/Documentation/git.txt b/Documentation/git.txt index 00ab9d7978..8159a4b3a4 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -705,6 +705,7 @@ for further details. waiting for someone with sufficient permissions to fix it. `GIT_FLUSH`:: +// NEEDSWORK: make it into a usual Boolean environment variable If this environment variable is set to "1", then commands such as 'git blame' (in incremental mode), 'git rev-list', 'git log', 'git check-attr' and 'git check-ignore' will -- cgit v1.3