]> git.ipfire.org Git - thirdparty/git.git/commitdiff
environ: GIT_INDEX_VERSION affects not just a new repository
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2022 16:06:59 +0000 (09:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Sep 2022 16:45:22 +0000 (09:45 -0700)
The variable is consulted whenever we write the index file.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt

index e173c47f38d11f9b15dc18a16c1676232eaf33ed..c0b8b627b4674042c90e8eb165791d74ade0f30a 100644 (file)
@@ -460,8 +460,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.