diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-05-15 23:59:03 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-05-15 23:59:03 +0300 |
commit | b14a73097c3ce77c33d1df4b116635ab163573be (patch) | |
tree | 0f328dc937617f30dcb5e74313a70ddd4b19f11a /Documentation | |
parent | d3f2e4ab13f54ec3de1ac752e41d30847974c140 (diff) | |
parent | 5f0e37b4c1b2acde0d102a5d53766894771457f8 (diff) |
Merge branch 'jc/doc-clarify-git-default-hash-variable'
The documentation was misleading about the interaction between
GIT_DEFAULT_HASH and "git clone", which has been clarified to
stress that the variable is to be ignored by the command.
* jc/doc-clarify-git-default-hash-variable:
doc: GIT_DEFAULT_HASH is and will be ignored during "clone"
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 74973d3cc4..54b043899f 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -546,9 +546,9 @@ double-quotes and respecting backslash escapes. E.g., the value `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 - is used instead. The default is "sha1". THIS VARIABLE IS + repositories will be set to this value. This value is + ignored when cloning and the setting of the remote repository + is always used. The default is "sha1". THIS VARIABLE IS EXPERIMENTAL! See `--object-format` in linkgit:git-init[1]. Git Commits |