Re: [PATCH v7 4/6] refs: receive and use the reference storage payload
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Feb 22, 2026, 20:12 UTC
- Message-ID
- <CAOLa=ZS3smkTXERsZjiGMh5-K2t7OUpyMtRoagvwQm=Ab9VENw@mail.gmail.com>
- In-Reply-To
- <875x7rfn1j.fsf@iotcl.com>
Toon Claes <toon@iotcl.com> writes:
Show 28 quoted lines
> Karthik Nayak <karthik.188@gmail.com> 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
I mean, it also stores the files themselves in the repository, but yours is clearer, will change!