From: Toon Claes Date: Fri, 20 Feb 2026 15:32:40 GMT Subject: Re: [PATCH v7 4/6] refs: receive and use the reference storage payload Message-ID: <875x7rfn1j.fsf@iotcl.com> In-Reply-To: <20260219-kn-alternate-ref-dir-v7-4-16f27860dbdf@gmail.com> Karthik Nayak 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