Thread (32 messages) flat view 32 messages, 4 authors, 8h ago

Re: [PATCH 6/8] odb/source: support writing alternates when creating the database

From: Toon Claes <hidden>
Date: 2026-08-28 14:53:41

Patrick Steinhardt [off-list ref] writes:
quoted hunk ↗ jump to hunk
Add the ability to write alternates when creating the object database.
This change allows us to remove the `write_alternates()` callback in a
subsequent patch.

Signed-off-by: Patrick Steinhardt <redacted>
---
 odb/source-files.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 odb/source.h       | 18 +++++++++++---
 setup.c            |  4 ++-
 3 files changed, 89 insertions(+), 6 deletions(-)
diff --git a/odb/source.h b/odb/source.h
index ea8675247e..86b82fab3b 100644
--- a/odb/source.h
+++ b/odb/source.h
@@ -5,6 +5,7 @@
 #include "object.h"
 #include "odb.h"
 #include "odb/transaction.h"
+#include "strvec.h"
I see `struct strvec;` is already defined below
odb_source_type_to_name(). Can we not include this and put the new
struct below the strvec definition?

-- 
Laters,
Toon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help