Skip to content

Commit b14a730

Browse files
committed
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"
2 parents d3f2e4a + 5f0e37b commit b14a730

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ double-quotes and respecting backslash escapes. E.g., the value
546546

547547
`GIT_DEFAULT_HASH`::
548548
If this variable is set, the default hash algorithm for new
549-
repositories will be set to this value. This value is currently
550-
ignored when cloning; the setting of the remote repository
551-
is used instead. The default is "sha1". THIS VARIABLE IS
549+
repositories will be set to this value. This value is
550+
ignored when cloning and the setting of the remote repository
551+
is always used. The default is "sha1". THIS VARIABLE IS
552552
EXPERIMENTAL! See `--object-format` in linkgit:git-init[1].
553553

554554
Git Commits

0 commit comments

Comments
 (0)