# [PATCH] doc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES

2 messages from 2026-06-05 to 2026-06-08. Participants: Alexander Monakov, Patrick Steinhardt.
Thread: https://gitlist.dev/t/65761

## Alexander Monakov, 2026-06-05 17:26

Subject: [PATCH] doc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES
Message-ID: <20260605172643.8796-1-amonakov@ispras.ru>

```
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.
 
 git notes
 ~~~~~~~~~
-- 
2.49.1


```

## Patrick Steinhardt, 2026-06-08 07:02

Subject: Re: [PATCH] doc: fix typo in GIT_ALTERNATE_OBJECT_DIRECTORIES
Message-ID: <aiZo9FqsdKrhz0gA@pks.im>
In-Reply-To: <20260605172643.8796-1-amonakov@ispras.ru>

```
On Fri, Jun 05, 2026 at 08:26:43PM +0300, Alexander Monakov wrote:
> 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

```
