diff options
author | Elijah Newren <newren@gmail.com> | 2023-12-23 18:14:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-26 21:04:32 +0100 |
commit | bd6cc1d9eccfe2bd364fac91246583e9b6d712c0 (patch) | |
tree | 2b9daff5deb945ac20a010e58d8e7d702668325a | |
parent | archive.h: remove unnecessary include (diff) | |
download | git-bd6cc1d9eccfe2bd364fac91246583e9b6d712c0.tar.xz git-bd6cc1d9eccfe2bd364fac91246583e9b6d712c0.zip |
blame.h: remove unnecessary includes
The unnecessary include in the header transitively pulled in some
other headers actually needed by source files, though. Have those
source files explicitly include the headers they need.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | blame.c | 2 | ||||
-rw-r--r-- | blame.h | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -3,6 +3,7 @@ #include "object-store-ll.h" #include "cache-tree.h" #include "mergesort.h" +#include "commit.h" #include "convert.h" #include "diff.h" #include "diffcore.h" @@ -10,6 +11,7 @@ #include "hex.h" #include "path.h" #include "read-cache.h" +#include "revision.h" #include "setup.h" #include "tag.h" #include "trace2.h" @@ -1,12 +1,9 @@ #ifndef BLAME_H #define BLAME_H -#include "commit.h" #include "oidset.h" #include "xdiff-interface.h" -#include "revision.h" #include "prio-queue.h" -#include "diff.h" #define PICKAXE_BLAME_MOVE 01 #define PICKAXE_BLAME_COPY 02 |