Thread (32 messages) 32 messages, 4 authors, 6d ago

Re: [PATCH 2/7] path: introduce `safe_create_leading_directories_no_share_const()`

From: Kaartic Sivaraam <hidden>
Date: 2026-09-25 19:49:47

On 9/24/26 14:49, Patrick Steinhardt wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help