[PATCH 1/7] merge-ort: add a few includes
- From
Elijah Newren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Dec 3, 2020, 15:59 UTC
- Message-ID
- <6cd8ee01c7107f54bdba177f27089321df047eac.1607011187.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.803.git.1607011187.gitgitgadget@gmail.com>
From: Elijah Newren <newren@gmail.com>
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 <newren@gmail.com> --- 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