Subject: Re: [PATCH v7 4/6] refs: receive and use the reference storage payload

From: Toon Claes <[email-masked]>
Date: Fri, 20 Feb 2026 16:32:40 +0100

Karthik Nayak <[email-masked]> writes:

> diff --git a/refs/refs-internal.h b/refs/refs-internal.h
> index c7d2a6e50b..9a635f4e6c 100644
> --- a/refs/refs-internal.h
> +++ b/refs/refs-internal.h
> @@ -666,4 +667,17 @@ enum ref_transaction_error refs_verify_refnames_available(struct ref_store *refs
>  					  unsigned int initial_transaction,
>  					  struct strbuf *err);
>  
> +/*
> + * Given a gitdir and the reference storage payload provided, retrieve the
> + * 'refdir' and 'ref_common_dir'. The former is where references should be
> + * stored for the current worktree, the latter is the common reference
> + * directory if working with a linked worktree. If working with the main
> + * worktree, both values will be the same.
> + *
> + * This is used by backends that store store files in the repository directly.

s/store store/store/

Also, shouldn't it be this?

* This is used by backends that store references in the repository directly.

-- 
Cheers,
Toon