Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-12-23 20:14:59 +0300
committerJunio C Hamano <gitster@pobox.com>2023-12-26 23:04:32 +0300
commitec2101abf3ea00a3cbb4c88c14d6658fa6d09984 (patch)
tree5b1535b82a055db5b443a29313eededfa476206b /builtin
parent0a4d5b97720a847d00e6553aeec0984de1e01472 (diff)
treewide: add direct includes currently only pulled in transitively
The next commit will remove a bunch of unnecessary includes, but to do so, we need some of the lower level direct includes that files rely on to be explicitly specified. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit-graph.c1
-rw-r--r--builtin/for-each-ref.c1
-rw-r--r--builtin/fsmonitor--daemon.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c
index c5684342ec..81a28c6fcd 100644
--- a/builtin/commit-graph.c
+++ b/builtin/commit-graph.c
@@ -11,6 +11,7 @@
#include "object-store-ll.h"
#include "progress.h"
#include "replace-object.h"
+#include "strbuf.h"
#include "tag.h"
#include "trace2.h"
diff --git a/builtin/for-each-ref.c b/builtin/for-each-ref.c
index 6235d72f9d..b5bc700d13 100644
--- a/builtin/for-each-ref.c
+++ b/builtin/for-each-ref.c
@@ -1,4 +1,5 @@
#include "builtin.h"
+#include "commit.h"
#include "config.h"
#include "gettext.h"
#include "object.h"
diff --git a/builtin/fsmonitor--daemon.c b/builtin/fsmonitor--daemon.c
index 7260604534..9f80b9eaff 100644
--- a/builtin/fsmonitor--daemon.c
+++ b/builtin/fsmonitor--daemon.c
@@ -12,6 +12,7 @@
#include "compat/fsmonitor/fsm-health.h"
#include "compat/fsmonitor/fsm-listen.h"
#include "fsmonitor--daemon.h"
+#include "repository.h"
#include "simple-ipc.h"
#include "khash.h"
#include "pkt-line.h"