summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-04-22 20:17:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-24 19:47:33 (GMT)
commitd4a4f9291d63b48b368f79bce3151bee9ca28009 (patch)
tree1a19e9b334b90f1f018b7930fcfd0a2499e50c9f /commit.h
parente1c382141d8072b8c8c07c0bd8265b2b3d01ae2b (diff)
downloadgit-d4a4f9291d63b48b368f79bce3151bee9ca28009.zip
git-d4a4f9291d63b48b368f79bce3151bee9ca28009.tar.gz
git-d4a4f9291d63b48b368f79bce3151bee9ca28009.tar.bz2
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.h')
-rw-r--r--commit.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/commit.h b/commit.h
index 69b2f37..2892883 100644
--- a/commit.h
+++ b/commit.h
@@ -2,13 +2,10 @@
#define COMMIT_H
#include "object.h"
-#include "tree.h"
-#include "strbuf.h"
-#include "decorate.h"
-#include "gpg-interface.h"
-#include "string-list.h"
-#include "pretty.h"
-#include "commit-slab.h"
+
+struct signature_check;
+struct strbuf;
+struct tree;
#define COMMIT_NOT_FROM_GRAPH 0xFFFFFFFF
#define GENERATION_NUMBER_INFINITY ((1ULL << 63) - 1)