# [PATCH] git.txt: list index versions in plain English

2 messages from 2015-03-24 to 2015-03-24. Participants: Nguyễn Thái Ngọc Duy, Junio C Hamano.
Thread: https://gitlist.dev/t/38898

## Nguyễn Thái Ngọc Duy, 2015-03-24 00:28

Subject: [PATCH] git.txt: list index versions in plain English
Message-ID: <1427156913-4491-1-git-send-email-pclouds@gmail.com>
URL: https://gitlist.dev/e/1427156913-4491-1-git-send-email-pclouds%40gmail.com

```
At the first look, a user may think the default version is "23". Even
with UNIX background, there's no reference anywhere close that may
indicate this is glob or regex.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Documentation/git.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/git.txt b/Documentation/git.txt
index b37f1ab..29d9257 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -766,7 +766,8 @@ Git so take care if using Cogito etc.
 'GIT_INDEX_VERSION'::
 	This environment variable allows the specification of an index
 	version for new repositories.  It won't affect existing index
-	files.  By default index file version [23] is used.
+	files.  By default index file version 2 or 3 is used. See
+	linkgit:git-update-index[1] for more information.
 
 'GIT_OBJECT_DIRECTORY'::
 	If the object storage directory is specified via this
-- 
2.2.0.513.g477eb31

```

## Junio C Hamano, 2015-03-24 15:06

Subject: Re: [PATCH] git.txt: list index versions in plain English
Message-ID: <xmqqd23y8mfd.fsf@gitster.dls.corp.google.com>
URL: https://gitlist.dev/e/xmqqd23y8mfd.fsf%40gitster.dls.corp.google.com
In-Reply-To: <1427156913-4491-1-git-send-email-pclouds@gmail.com>

```
Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> writes:

> At the first look, a user may think the default version is "23". Even
> with UNIX background, there's no reference anywhere close that may
> indicate this is glob or regex.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---

Thanks.

>  Documentation/git.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/git.txt b/Documentation/git.txt
> index b37f1ab..29d9257 100644
> --- a/Documentation/git.txt
> +++ b/Documentation/git.txt
> @@ -766,7 +766,8 @@ Git so take care if using Cogito etc.
>  'GIT_INDEX_VERSION'::
>  	This environment variable allows the specification of an index
>  	version for new repositories.  It won't affect existing index
> -	files.  By default index file version [23] is used.
> +	files.  By default index file version 2 or 3 is used. See
> +	linkgit:git-update-index[1] for more information.
>  
>  'GIT_OBJECT_DIRECTORY'::
>  	If the object storage directory is specified via this

```
