]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Documentation: correct hash environment variable
authorToon Claes <toon@iotcl.com>
Tue, 26 May 2020 18:37:20 +0000 (20:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:00:05 +0000 (10:00 -0700)
To set the default hash algorithm you can set the `GIT_DEFAULT_HASH`
environment variable. In the documentation this variable is named
`GIT_DEFAULT_HASH_ALGORITHM`, which is incorrect.

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

index 9d6769e95ab1d356e6c8b07671ac11446a2acc96..12890841c45cb38b1cae0f1149635b9f7cc385a0 100644 (file)
@@ -493,7 +493,7 @@ double-quotes and respecting backslash escapes. E.g., the value
        details. This variable has lower precedence than other path
        variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY...
 
-`GIT_DEFAULT_HASH_ALGORITHM`::
+`GIT_DEFAULT_HASH`::
        If this variable is set, the default hash algorithm for new
        repositories will be set to this value. This value is currently
        ignored when cloning; the setting of the remote repository