@matheusbsbs / matheus-bagliano / commits / ed11a5a7de
Fork 0

Documentation: correct hash environment variable

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>

Toon Claes committed May 26, 2020 at 20:37 UTC ed11a5a7de51a0eac798fee0f7be6ca808896130
1 file changed +1 -1
Documentation/git.txt
+1 -1
@@ -493,7 +493,7 @@ double-quotes and respecting backslash escapes. E.g., the value
493 details. This variable has lower precedence than other path
494 variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY...
495
496 -`GIT_DEFAULT_HASH_ALGORITHM`::
496 +`GIT_DEFAULT_HASH`::
497 If this variable is set, the default hash algorithm for new
498 repositories will be set to this value. This value is currently
499 ignored when cloning; the setting of the remote repository