Re: [PATCH 2/7] path: introduce `safe_create_leading_directories_no_share_const()`
- From
Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
- Date
- Sep 25, 2026, 19:49 UTC
- Message-ID
- <4770b19f-9a8d-4a4c-8cc6-745aa2868b94@gmail.com>
- In-Reply-To
- <20260924-pks-create-repository-stateless-v1-2-11499557cf31@pks.im>
On 9/24/26 14:49, Patrick Steinhardt wrote:
Show 11 quoted lines
> > diff --git a/path.h b/path.h > index 7e7408dd05..e2d62c4978 100644 > --- a/path.h > +++ b/path.h > @@ -254,6 +254,7 @@ enum scld_error safe_create_leading_directories(struct repository *repo, char *p > enum scld_error safe_create_leading_directories_const(struct repository *repo, > const char *path); > enum scld_error safe_create_leading_directories_no_share(char *path); > +enum scld_error safe_create_leading_directories_no_share_const(const char *path); >
nit: All other variants are mentioned in the documentation blurb just above the declarations. Would it also be worth mentioning this new one there?
-- Sivaraam