summaryrefslogtreecommitdiffstats
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-09 01:22:04 +0100
committerJunio C Hamano <gitster@pobox.com>2024-02-09 01:22:04 +0100
commit3c2ee131f88c2e65bfed514b7b164f542b046c0c (patch)
treead8f1aee6720e0a7c2d4e339fc2b4c65f0b6d27c /Documentation/git.txt
parentMerge branch 'jc/sparse-checkout-set-default-fix' into maint-2.43 (diff)
parentwrite-or-die: make GIT_FLUSH a Boolean environment variable (diff)
downloadgit-3c2ee131f88c2e65bfed514b7b164f542b046c0c.tar.xz
git-3c2ee131f88c2e65bfed514b7b164f542b046c0c.zip
Merge branch 'cp/git-flush-is-an-env-bool' into maint-2.43
Unlike other environment variables that took the usual true/false/yes/no as well as 0/1, GIT_FLUSH only understood 0/1, which has been corrected. * cp/git-flush-is-an-env-bool: write-or-die: make GIT_FLUSH a Boolean environment variable
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 4698d7a42b..caa6cbee7e 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -724,13 +724,12 @@ 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
+ If this Boolean environment variable is set to true, then commands such
as 'git blame' (in incremental mode), 'git rev-list', 'git log',
'git check-attr' and 'git check-ignore' will
force a flush of the output stream after each record have been
flushed. If this
- variable is set to "0", the output of these commands will be done
+ variable is set to false, the output of these commands will be done
using completely buffered I/O. If this environment variable is
not set, Git will choose buffered or record-oriented flushing
based on whether stdout appears to be redirected to a file or not.