aboutsummaryrefslogtreecommitdiffstats
path: root/add-interactive.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:34:00 +0000
committerJunio C Hamano <gitster@pobox.com>2023-06-21 13:39:53 -0700
commitdf6e8744966bfa66ff289f58372bb060fdc6a124 (patch)
tree7267d8461f4322e931b8b407627c497d6485b538 /add-interactive.c
parentrepository: remove unnecessary include of path.h (diff)
downloadgit-df6e8744966bfa66ff289f58372bb060fdc6a124.tar.gz
git-df6e8744966bfa66ff289f58372bb060fdc6a124.zip
diff.h: remove unnecessary include of oidset.h
This also made it clear that several .c files depended upon various things that oidset included, but had omitted the direct #include for those headers. Add those now. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'add-interactive.c')
-rw-r--r--add-interactive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/add-interactive.c b/add-interactive.c
index 40f88c0205..add9a1ad43 100644
--- a/add-interactive.c
+++ b/add-interactive.c
@@ -4,9 +4,11 @@
#include "config.h"
#include "diffcore.h"
#include "gettext.h"
+#include "hash.h"
#include "hex.h"
#include "preload-index.h"
#include "read-cache-ll.h"
+#include "repository.h"
#include "revision.h"
#include "refs.h"
#include "string-list.h"