diff mbox series

[5/5] environ: GIT_INDEX_VERSION affects not just a new repository

Message ID 20220915160659.126441-6-gitster@pobox.com (mailing list archive)
State Accepted
Commit 819fb682225e096096b05c4a3aff16ebcabfcfd4
Headers show
Series Update docs on GIT_* environment variables | expand

Commit Message

Junio C Hamano Sept. 15, 2022, 4:06 p.m. UTC
The variable is consulted whenever we write the index file.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/git.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/git.txt b/Documentation/git.txt
index 535ff561c6..eb2a17d36b 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -477,8 +477,8 @@  Git so take care if using a foreign front-end.
 	is used.
 
 `GIT_INDEX_VERSION`::
-	This environment variable allows the specification of an index
-	version for new repositories.  It won't affect existing index
+	This environment variable specifies what index version is used
+	when writing the index file out.  It won't affect existing index
 	files.  By default index file version 2 or 3 is used. See
 	linkgit:git-update-index[1] for more information.