environ: GIT_INDEX_VERSION affects not just a new repository
The variable is consulted whenever we write the index file. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 15, 2022 at 09:06 UTC
819fb682225e096096b05c4a3aff16ebcabfcfd4
1 file changed
+2
-2
Documentation/git.txt
+2
-2
@@ -460,8 +460,8 @@ Git so take care if using a foreign front-end.
460
is used.
461
462
`GIT_INDEX_VERSION`::
463
- This environment variable allows the specification of an index
464
- version for new repositories. It won't affect existing index
463
+ This environment variable specifies what index version is used
464
+ when writing the index file out. It won't affect existing index
465
files. By default index file version 2 or 3 is used. See
466
linkgit:git-update-index[1] for more information.
467