threads / patch / 65761

patchdoc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES

Subject: [PATCH] doc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES

## tl;dr

2 messages between Jun 5, 2026 and Jun 8, 2026. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Alexander Monakov· Jun 5, 2026, 17:26 UTC · lore

One file accidentally spelled GIT_ALTERNATE_OBJECT_DIRECTORIES with REPOSITORIES instead of DIRECTORIES. Fix the typo.

Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
---
 Documentation/technical/hash-function-transition.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to Documentation/technical/hash-function-transition.adoc +1 −1
diff --git a/Documentation/technical/hash-function-transition.adoc b/Documentation/technical/hash-function-transition.adoc
index 2359d7d106..241d2f763d 100644
--- a/Documentation/technical/hash-function-transition.adoc
+++ b/Documentation/technical/hash-function-transition.adoc
@@ -545,7 +545,7 @@ Alternates
 ~~~~~~~~~~
 For the same reason, a SHA-256 repository cannot borrow objects from a
 SHA-1 repository using objects/info/alternates or
-$GIT_ALTERNATE_OBJECT_REPOSITORIES.
+$GIT_ALTERNATE_OBJECT_DIRECTORIES.
 
 git notes
 ~~~~~~~~~
-- 
2.49.1
Patrick Steinhardt· Jun 8, 2026, 07:02 UTC · re: Alexander Monakov · lore

Re: [PATCH] doc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES

On Fri, Jun 05, 2026 at 08:26:43PM +0300, Alexander Monakov wrote:
Show 18 quoted lines
> One file accidentally spelled GIT_ALTERNATE_OBJECT_DIRECTORIES with
> REPOSITORIES instead of DIRECTORIES. Fix the typo.
> 
> Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
> ---
>  Documentation/technical/hash-function-transition.adoc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/technical/hash-function-transition.adoc b/Documentation/technical/hash-function-transition.adoc
> index 2359d7d106..241d2f763d 100644
> --- a/Documentation/technical/hash-function-transition.adoc
> +++ b/Documentation/technical/hash-function-transition.adoc
> @@ -545,7 +545,7 @@ Alternates
>  ~~~~~~~~~~
>  For the same reason, a SHA-256 repository cannot borrow objects from a
>  SHA-1 repository using objects/info/alternates or
> -$GIT_ALTERNATE_OBJECT_REPOSITORIES.
> +$GIT_ALTERNATE_OBJECT_DIRECTORIES.
Yup, this change looks obviously good to me. Thanks!
Patrick

← back to recent threads