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