summaryrefslogtreecommitdiff
path: root/builtin/diff.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 /builtin/diff.c
parente1c382141d8072b8c8c07c0bd8265b2b3d01ae2b (diff)
downloadgit-d4a4f9291d63b48b368f79bce3151bee9ca28009.tar.gz
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 'builtin/diff.c')
-rw-r--r--builtin/diff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/diff.c b/builtin/diff.c
index 8f386535d6..457dee1445 100644
--- a/builtin/diff.c
+++ b/builtin/diff.c
@@ -22,6 +22,7 @@
#include "setup.h"
#include "submodule.h"
#include "oid-array.h"
+#include "tree.h"
#define DIFF_NO_INDEX_EXPLICIT 1
#define DIFF_NO_INDEX_IMPLICIT 2