summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-22 20:17:26 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-24 12:47:33 -0700
commitd4a4f9291d63b48b368f79bce3151bee9ca28009 (patch)
tree1a19e9b334b90f1f018b7930fcfd0a2499e50c9f /commit.c
parente1c382141d8072b8c8c07c0bd8265b2b3d01ae2b (diff)
commit.h: reduce unnecessary includes
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.c b/commit.c
index 878b4473e4..10676165a1 100644
--- a/commit.c
+++ b/commit.c
@@ -26,6 +26,7 @@
#include "run-command.h"
#include "setup.h"
#include "shallow.h"
+#include "tree.h"
#include "hook.h"
static struct commit_extra_header *read_commit_extra_header_lines(const char *buf, size_t len, const char **);