mirror of
https://github.com/git/git
synced 2024-09-29 21:27:13 +00:00
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>
This commit is contained in:
parent
c339932bd8
commit
df6e874496
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
1
blame.h
1
blame.h
|
@ -2,6 +2,7 @@
|
|||
#define BLAME_H
|
||||
|
||||
#include "commit.h"
|
||||
#include "oidset.h"
|
||||
#include "xdiff-interface.h"
|
||||
#include "revision.h"
|
||||
#include "prio-queue.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "read-cache.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "bulk-checkin.h"
|
||||
#include "strvec.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "diff-merges.h"
|
||||
#include "commit.h"
|
||||
#include "preload-index.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "submodule.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "diff-merges.h"
|
||||
#include "commit.h"
|
||||
#include "preload-index.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "setup.h"
|
||||
#include "submodule.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "builtin.h"
|
||||
#include "diff.h"
|
||||
#include "repository.h"
|
||||
|
||||
static const char builtin_merge_ours_usage[] =
|
||||
"git merge-ours <base>... -- HEAD <remote>...";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "config.h"
|
||||
#include "diff.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "parse-options.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "parse-options.h"
|
||||
#include "range-diff.h"
|
||||
#include "config.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
|
||||
static const char * const builtin_range_diff_usage[] = {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "builtin.h"
|
||||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "reachable.h"
|
||||
#include "worktree.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "lockfile.h"
|
||||
#include "tag.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "commit.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "quote.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "parse-options.h"
|
||||
#include "diff.h"
|
||||
#include "gettext.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "rerere.h"
|
||||
#include "dir.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "string-list.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "utf8.h"
|
||||
#include "mailmap.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "read-cache.h"
|
||||
|
@ -14,6 +15,7 @@
|
|||
#include "cache-tree.h"
|
||||
#include "unpack-trees.h"
|
||||
#include "refs.h"
|
||||
#include "repository.h"
|
||||
#include "submodule.h"
|
||||
#include "symlinks.h"
|
||||
#include "trace.h"
|
||||
|
|
4
diff.h
4
diff.h
|
@ -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.
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "hash.h"
|
||||
#include "object.h"
|
||||
#include "promisor-remote.h"
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "diffcore.h"
|
||||
#include "xdiff-interface.h"
|
||||
#include "kwset.h"
|
||||
#include "oidset.h"
|
||||
#include "pretty.h"
|
||||
#include "quote.h"
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "diff.h"
|
||||
#include "commit.h"
|
||||
#include "decorate.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "xdiff-interface.h"
|
||||
#include "strbuf.h"
|
||||
|
|
2
merge.c
2
merge.c
|
@ -2,10 +2,12 @@
|
|||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "lockfile.h"
|
||||
#include "merge.h"
|
||||
#include "commit.h"
|
||||
#include "repository.h"
|
||||
#include "run-command.h"
|
||||
#include "resolve-undo.h"
|
||||
#include "tree.h"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "diff.h"
|
||||
#include "commit.h"
|
||||
#include "hash.h"
|
||||
#include "hash-lookup.h"
|
||||
#include "hex.h"
|
||||
#include "patch-ids.h"
|
||||
|
|
1
pretty.c
1
pretty.c
|
@ -4,6 +4,7 @@
|
|||
#include "commit.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "utf8.h"
|
||||
#include "diff.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "commit.h"
|
||||
#include "pager.h"
|
||||
#include "pretty.h"
|
||||
#include "repository.h"
|
||||
#include "userdiff.h"
|
||||
#include "apply.h"
|
||||
#include "revision.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "commit.h"
|
||||
#include "refs.h"
|
||||
#include "diff.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "string-list.h"
|
||||
#include "reflog-walk.h"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "commit.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "lockfile.h"
|
||||
#include "merge-ort.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "test-tool.h"
|
||||
#include "commit.h"
|
||||
#include "diff.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "setup.h"
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "repository.h"
|
||||
#include "revision.h"
|
||||
#include "remote.h"
|
||||
#include "string-list.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "hash.h"
|
||||
#include "tree.h"
|
||||
#include "tree-walk.h"
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "diff.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hash.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "path.h"
|
||||
|
|
Loading…
Reference in a new issue