]> git.ipfire.org Git - thirdparty/git.git/commitdiff
treewide: add direct includes currently only pulled in transitively
authorElijah Newren <newren@gmail.com>
Sat, 23 Dec 2023 17:14:59 +0000 (17:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Dec 2023 20:04:32 +0000 (12:04 -0800)
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>
builtin/commit-graph.c
builtin/for-each-ref.c
builtin/fsmonitor--daemon.c
commit-graph.c

index c5684342ecf12b22b9df47d56e1713add14dba2f..81a28c6fcddf49f932c10b4075a513ba274a500b 100644 (file)
@@ -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"
 
index 6235d72f9d3b74d98f4d42c41c54de6a907bba9b..b5bc700d13ce78e6cf47c3e6a499e8129c830241 100644 (file)
@@ -1,4 +1,5 @@
 #include "builtin.h"
+#include "commit.h"
 #include "config.h"
 #include "gettext.h"
 #include "object.h"
index 7260604534f25e79eb5b95a78df21698ea034854..9f80b9eaff5b387a7667d15e4d913cf6f1956d45 100644 (file)
@@ -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"
index 5bfee53e87b75cac3e8326909476cdc16e9517e6..e7212400da37c15ea7b3d987bffda57bda8ad9a2 100644 (file)
@@ -1,5 +1,6 @@
 #include "git-compat-util.h"
 #include "config.h"
+#include "csum-file.h"
 #include "gettext.h"
 #include "hex.h"
 #include "lockfile.h"