aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git.txt
diff options
context:
space:
mode:
authorToon Claes <toon@iotcl.com>2020-05-26 20:37:20 +0200
committerJunio C Hamano <gitster@pobox.com>2020-05-27 10:00:05 -0700
commited11a5a7de51a0eac798fee0f7be6ca808896130 (patch)
treec19fd24b03948c9dc41a27dee24e025677ccc1c8 /Documentation/git.txt
parent1bdca816412910e1206c15ef47f2a8a6b369b831 (diff)
downloadgit-ed11a5a7de51a0eac798fee0f7be6ca808896130.tar.gz
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>
Diffstat (limited to 'Documentation/git.txt')
-rw-r--r--Documentation/git.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 9d6769e95a..12890841c4 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -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