diff options
author | Elijah Newren <newren@gmail.com> | 2023-05-16 08:34:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-21 22:39:53 +0200 |
commit | df6e8744966bfa66ff289f58372bb060fdc6a124 (patch) | |
tree | 7267d8461f4322e931b8b407627c497d6485b538 /diff.h | |
parent | repository: remove unnecessary include of path.h (diff) | |
download | git-df6e8744966bfa66ff289f58372bb060fdc6a124.tar.xz 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 'diff.h')
-rw-r--r-- | diff.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,10 +4,12 @@ #ifndef DIFF_H #define DIFF_H +#include "hash-ll.h" #include "pathspec.h" -#include "oidset.h" #include "strbuf.h" +struct oidset; + /** * The diff API is for programs that compare two sets of files (e.g. two trees, * one tree and the index) and present the found difference in various ways. |