threads / patch / 38898

patchgit.txt: list index versions in plain English

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

## tl;dr

2 messages between Mar 24, 2015 and Mar 24, 2015. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Nguyễn Thái Ngọc Duy· Mar 24, 2015, 00:28 UTC · lore

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(-)
Show changes to Documentation/git.txt +2 −1
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· Mar 24, 2015, 15:06 UTC · re: Nguyễn Thái Ngọc Duy · lore

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

Nguyễn Thái Ngọc Duy  <pclouds@gmail.com> writes:
Show 6 quoted lines
> 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.
Show 17 quoted lines
>  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

← back to recent threads