aboutsummaryrefslogtreecommitdiffstats
path: root/add-patch.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-patch.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-patch.c')
-rw-r--r--add-patch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/add-patch.c b/add-patch.c
index 875b96e227..53e3248295 100644
--- a/add-patch.c
+++ b/add-patch.c
@@ -7,6 +7,7 @@
#include "gettext.h"
#include "object-name.h"
#include "read-cache-ll.h"
+#include "repository.h"
#include "strbuf.h"
#include "run-command.h"
#include "strvec.h"