aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/for-each-ref.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-12-23 17:14:59 +0000
committerJunio C Hamano <gitster@pobox.com>2023-12-26 12:04:32 -0800
commitec2101abf3ea00a3cbb4c88c14d6658fa6d09984 (patch)
tree5b1535b82a055db5b443a29313eededfa476206b /builtin/for-each-ref.c
parent0a4d5b97720a847d00e6553aeec0984de1e01472 (diff)
downloadgit-ec2101abf3ea00a3cbb4c88c14d6658fa6d09984.tar.gz
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/for-each-ref.c')
-rw-r--r--builtin/for-each-ref.c1
1 files changed, 1 insertions, 0 deletions
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"