Thread (13 messages) 13 messages, 3 authors, 2020-12-04
STALE2027d

[PATCH 1/7] merge-ort: add a few includes

From: Elijah Newren via GitGitGadget <hidden>
Date: 2020-12-03 16:01:01
Subsystem: the rest · Maintainer: Linus Torvalds

From: Elijah Newren <redacted>

Include blob.h for definition of blob_type, and commit-reach.h for
declarations of get_merge_bases() and in_merge_bases().  While none of
these are used yet, we want to avoid cross-dependencies in the next
three series of patches for merge-ort and merge them at the end; adding
these "#include"s now avoids textual conflicts.

Signed-off-by: Elijah Newren <redacted>
---
 merge-ort.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/merge-ort.c b/merge-ort.c
index ea6a9d7348..b556897bc0 100644
--- a/merge-ort.c
+++ b/merge-ort.c
@@ -17,7 +17,9 @@
 #include "cache.h"
 #include "merge-ort.h"
 
+#include "blob.h"
 #include "cache-tree.h"
+#include "commit-reach.h"
 #include "diff.h"
 #include "diffcore.h"
 #include "dir.h"
-- 
gitgitgadget
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help