diff options
author | Elijah Newren <newren@gmail.com> | 2023-04-22 20:17:28 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-24 12:47:33 -0700 |
commit | 0e312eaa12c03043b0ef23021a5a820567ee0efd (patch) | |
tree | c2cc9243a5bdd3aa28c303c1d6a2c3a2b6bbf80e | |
parent | e3d2f20e6f14d3cba641a365a733a615278e9e5e (diff) | |
download | git-0e312eaa12c03043b0ef23021a5a820567ee0efd.tar.gz |
diff.h: reduce unnecessary includes
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | attr.c | 1 | ||||
-rw-r--r-- | diff.h | 1 | ||||
-rw-r--r-- | http-push.c | 1 | ||||
-rw-r--r-- | line-log.c | 1 | ||||
-rw-r--r-- | pack-bitmap-write.c | 1 | ||||
-rw-r--r-- | reflog.c | 1 | ||||
-rw-r--r-- | tree-diff.c | 1 |
7 files changed, 6 insertions, 1 deletions
@@ -20,6 +20,7 @@ #include "object-store.h" #include "setup.h" #include "thread-utils.h" +#include "tree-walk.h" const char git_attr__true[] = "(builtin)true"; const char git_attr__false[] = "\0(builtin)false"; @@ -4,7 +4,6 @@ #ifndef DIFF_H #define DIFF_H -#include "tree-walk.h" #include "pathspec.h" #include "oidset.h" #include "strbuf.h" diff --git a/http-push.c b/http-push.c index 3f18498636..866ba243a8 100644 --- a/http-push.c +++ b/http-push.c @@ -16,6 +16,7 @@ #include "sigchain.h" #include "strvec.h" #include "tree.h" +#include "tree-walk.h" #include "packfile.h" #include "object-store.h" #include "commit-reach.h" diff --git a/line-log.c b/line-log.c index 10c19daec4..6a7ac312a4 100644 --- a/line-log.c +++ b/line-log.c @@ -18,6 +18,7 @@ #include "setup.h" #include "strvec.h" #include "bloom.h" +#include "tree-walk.h" static void range_set_grow(struct range_set *rs, size_t extra) { diff --git a/pack-bitmap-write.c b/pack-bitmap-write.c index 3d3fd38065..cdffe2ce47 100644 --- a/pack-bitmap-write.c +++ b/pack-bitmap-write.c @@ -19,6 +19,7 @@ #include "prio-queue.h" #include "trace2.h" #include "tree.h" +#include "tree-walk.h" struct bitmapped_commit { struct commit *commit; @@ -5,6 +5,7 @@ #include "refs.h" #include "revision.h" #include "tree.h" +#include "tree-walk.h" #include "worktree.h" /* Remember to update object flag allocation in object.h */ diff --git a/tree-diff.c b/tree-diff.c index 9ea2dd7a6c..20bb15f38d 100644 --- a/tree-diff.c +++ b/tree-diff.c @@ -5,6 +5,7 @@ #include "diff.h" #include "diffcore.h" #include "tree.h" +#include "tree-walk.h" /* * Some mode bits are also used internally for computations. |