Git fork

treewide: remove unnecessary includes in source files

Each of these were checked with
gcc -E -I. ${SOURCE_FILE} | grep ${HEADER_FILE}
to ensure that removing the direct inclusion of the header actually
resulted in that header no longer being included at all (i.e. that
no other header pulled it in transitively).

...except for a few cases where we verified that although the header
was brought in transitively, nothing from it was directly used in
that source file. These cases were:
* builtin/credential-cache.c
* builtin/pull.c
* builtin/send-pack.c

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Elijah Newren and committed by
Junio C Hamano
eea0e59f 147438e8

-293
-1
add-patch.c
··· 12 12 #include "strvec.h" 13 13 #include "pathspec.h" 14 14 #include "color.h" 15 - #include "diff.h" 16 15 #include "compat/terminal.h" 17 16 #include "prompt.h" 18 17
-1
apply.c
··· 12 12 #include "base85.h" 13 13 #include "config.h" 14 14 #include "object-store-ll.h" 15 - #include "blob.h" 16 15 #include "delta.h" 17 16 #include "diff.h" 18 17 #include "dir.h"
-1
archive.c
··· 17 17 #include "archive.h" 18 18 #include "parse-options.h" 19 19 #include "unpack-trees.h" 20 - #include "dir.h" 21 20 #include "quote.h" 22 21 23 22 static char const * const archive_usage[] = {
-1
bisect.c
··· 9 9 #include "refs.h" 10 10 #include "list-objects.h" 11 11 #include "quote.h" 12 - #include "hash-lookup.h" 13 12 #include "run-command.h" 14 13 #include "log-tree.h" 15 14 #include "bisect.h"
-1
blob.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "blob.h" 3 - #include "repository.h" 4 3 #include "alloc.h" 5 4 6 5 const char *blob_type = "blob";
-1
bloom.c
··· 2 2 #include "bloom.h" 3 3 #include "diff.h" 4 4 #include "diffcore.h" 5 - #include "revision.h" 6 5 #include "hashmap.h" 7 6 #include "commit-graph.h" 8 7 #include "commit.h"
-3
builtin/add.c
··· 12 12 #include "dir.h" 13 13 #include "gettext.h" 14 14 #include "pathspec.h" 15 - #include "exec-cmd.h" 16 - #include "cache-tree.h" 17 15 #include "run-command.h" 18 16 #include "parse-options.h" 19 17 #include "path.h" 20 18 #include "preload-index.h" 21 19 #include "diff.h" 22 - #include "diffcore.h" 23 20 #include "read-cache.h" 24 21 #include "repository.h" 25 22 #include "revision.h"
-4
builtin/am.c
··· 10 10 #include "config.h" 11 11 #include "editor.h" 12 12 #include "environment.h" 13 - #include "exec-cmd.h" 14 13 #include "gettext.h" 15 14 #include "hex.h" 16 15 #include "parse-options.h" ··· 24 23 #include "refs.h" 25 24 #include "commit.h" 26 25 #include "diff.h" 27 - #include "diffcore.h" 28 26 #include "unpack-trees.h" 29 27 #include "branch.h" 30 28 #include "object-name.h" ··· 35 33 #include "log-tree.h" 36 34 #include "notes-utils.h" 37 35 #include "rerere.h" 38 - #include "prompt.h" 39 36 #include "mailinfo.h" 40 37 #include "apply.h" 41 38 #include "string-list.h" 42 - #include "packfile.h" 43 39 #include "pager.h" 44 40 #include "path.h" 45 41 #include "repository.h"
-1
builtin/apply.c
··· 1 1 #include "builtin.h" 2 2 #include "gettext.h" 3 - #include "parse-options.h" 4 3 #include "repository.h" 5 4 #include "apply.h" 6 5
-1
builtin/bisect.c
··· 7 7 #include "parse-options.h" 8 8 #include "bisect.h" 9 9 #include "refs.h" 10 - #include "dir.h" 11 10 #include "strvec.h" 12 11 #include "run-command.h" 13 12 #include "oid-array.h"
-1
builtin/blame.c
··· 25 25 #include "userdiff.h" 26 26 #include "line-range.h" 27 27 #include "line-log.h" 28 - #include "dir.h" 29 28 #include "progress.h" 30 29 #include "object-name.h" 31 30 #include "object-store-ll.h"
-3
builtin/branch.c
··· 17 17 #include "remote.h" 18 18 #include "parse-options.h" 19 19 #include "branch.h" 20 - #include "diff.h" 21 20 #include "path.h" 22 - #include "revision.h" 23 21 #include "string-list.h" 24 22 #include "column.h" 25 23 #include "utf8.h" 26 - #include "wt-status.h" 27 24 #include "ref-filter.h" 28 25 #include "worktree.h" 29 26 #include "help.h"
-1
builtin/cat-file.c
··· 15 15 #include "parse-options.h" 16 16 #include "userdiff.h" 17 17 #include "streaming.h" 18 - #include "tree-walk.h" 19 18 #include "oid-array.h" 20 19 #include "packfile.h" 21 20 #include "object-file.h"
-1
builtin/checkout-index.c
··· 7 7 #define USE_THE_INDEX_VARIABLE 8 8 #include "builtin.h" 9 9 #include "config.h" 10 - #include "dir.h" 11 10 #include "gettext.h" 12 11 #include "lockfile.h" 13 12 #include "quote.h"
-3
builtin/checkout.c
··· 1 1 #define USE_THE_INDEX_VARIABLE 2 2 #include "builtin.h" 3 3 #include "advice.h" 4 - #include "blob.h" 5 4 #include "branch.h" 6 5 #include "cache-tree.h" 7 6 #include "checkout.h" ··· 27 26 #include "remote.h" 28 27 #include "resolve-undo.h" 29 28 #include "revision.h" 30 - #include "run-command.h" 31 29 #include "setup.h" 32 30 #include "submodule.h" 33 - #include "submodule-config.h" 34 31 #include "symlinks.h" 35 32 #include "trace2.h" 36 33 #include "tree.h"
-1
builtin/clone.c
··· 19 19 #include "hex.h" 20 20 #include "lockfile.h" 21 21 #include "parse-options.h" 22 - #include "fetch-pack.h" 23 22 #include "refs.h" 24 23 #include "refspec.h" 25 24 #include "object-file.h"
-1
builtin/commit-graph.c
··· 1 1 #include "builtin.h" 2 2 #include "commit.h" 3 3 #include "config.h" 4 - #include "dir.h" 5 4 #include "environment.h" 6 5 #include "gettext.h" 7 6 #include "hex.h"
-3
builtin/commit-tree.c
··· 11 11 #include "object-store-ll.h" 12 12 #include "repository.h" 13 13 #include "commit.h" 14 - #include "tree.h" 15 - #include "utf8.h" 16 - #include "gpg-interface.h" 17 14 #include "parse-options.h" 18 15 19 16 static const char * const commit_tree_usage[] = {
-8
builtin/commit.c
··· 16 16 #include "editor.h" 17 17 #include "environment.h" 18 18 #include "diff.h" 19 - #include "diffcore.h" 20 19 #include "commit.h" 21 20 #include "gettext.h" 22 21 #include "revision.h" 23 22 #include "wt-status.h" 24 23 #include "run-command.h" 25 - #include "hook.h" 26 - #include "refs.h" 27 - #include "log-tree.h" 28 24 #include "strbuf.h" 29 - #include "utf8.h" 30 25 #include "object-name.h" 31 26 #include "parse-options.h" 32 27 #include "path.h" ··· 35 30 #include "string-list.h" 36 31 #include "rerere.h" 37 32 #include "unpack-trees.h" 38 - #include "quote.h" 39 - #include "submodule.h" 40 - #include "gpg-interface.h" 41 33 #include "column.h" 42 34 #include "sequencer.h" 43 35 #include "sparse-index.h"
-2
builtin/credential-cache.c
··· 7 7 8 8 #ifndef NO_UNIX_SOCKETS 9 9 10 - #include "credential.h" 11 - #include "string-list.h" 12 10 #include "unix-socket.h" 13 11 #include "run-command.h" 14 12
-2
builtin/describe.c
··· 7 7 #include "lockfile.h" 8 8 #include "commit.h" 9 9 #include "tag.h" 10 - #include "blob.h" 11 10 #include "refs.h" 12 - #include "exec-cmd.h" 13 11 #include "object-name.h" 14 12 #include "parse-options.h" 15 13 #include "read-cache-ll.h"
-1
builtin/diff-files.c
··· 11 11 #include "preload-index.h" 12 12 #include "repository.h" 13 13 #include "revision.h" 14 - #include "submodule.h" 15 14 16 15 static const char diff_files_usage[] = 17 16 "git diff-files [-q] [-0 | -1 | -2 | -3 | -c | --cc] [<common-diff-options>] [<path>...]"
-2
builtin/diff-index.c
··· 7 7 #include "repository.h" 8 8 #include "revision.h" 9 9 #include "setup.h" 10 - #include "sparse-index.h" 11 - #include "submodule.h" 12 10 13 11 static const char diff_cache_usage[] = 14 12 "git diff-index [-m] [--cached] [--merge-base] "
-1
builtin/diff-tree.c
··· 6 6 #include "gettext.h" 7 7 #include "hex.h" 8 8 #include "log-tree.h" 9 - #include "submodule.h" 10 9 #include "read-cache-ll.h" 11 10 #include "repository.h" 12 11 #include "revision.h"
-2
builtin/diff.c
··· 10 10 #include "lockfile.h" 11 11 #include "color.h" 12 12 #include "commit.h" 13 - #include "blob.h" 14 13 #include "gettext.h" 15 14 #include "tag.h" 16 15 #include "diff.h" ··· 21 20 #include "revision.h" 22 21 #include "log-tree.h" 23 22 #include "setup.h" 24 - #include "submodule.h" 25 23 #include "oid-array.h" 26 24 #include "tree.h" 27 25
-1
builtin/difftool.c
··· 18 18 #include "copy.h" 19 19 #include "run-command.h" 20 20 #include "environment.h" 21 - #include "exec-cmd.h" 22 21 #include "gettext.h" 23 22 #include "hex.h" 24 23 #include "parse-options.h"
-1
builtin/fast-export.c
··· 25 25 #include "quote.h" 26 26 #include "remote.h" 27 27 #include "blob.h" 28 - #include "commit-slab.h" 29 28 30 29 static const char *fast_export_usage[] = { 31 30 N_("git fast-export [<rev-list-opts>]"),
-2
builtin/fetch.c
··· 26 26 #include "connected.h" 27 27 #include "strvec.h" 28 28 #include "utf8.h" 29 - #include "packfile.h" 30 29 #include "pager.h" 31 30 #include "path.h" 32 31 #include "pkt-line.h" ··· 38 37 #include "shallow.h" 39 38 #include "trace.h" 40 39 #include "trace2.h" 41 - #include "worktree.h" 42 40 #include "bundle-uri.h" 43 41 44 42 #define FORCED_UPDATES_DELAY_WARNING_IN_MS (10 * 1000)
-2
builtin/for-each-ref.c
··· 1 1 #include "builtin.h" 2 2 #include "config.h" 3 3 #include "gettext.h" 4 - #include "refs.h" 5 4 #include "object.h" 6 5 #include "parse-options.h" 7 6 #include "ref-filter.h" 8 7 #include "strbuf.h" 9 8 #include "strvec.h" 10 - #include "commit-reach.h" 11 9 12 10 static char const * const for_each_ref_usage[] = { 13 11 N_("git for-each-ref [<options>] [<pattern>]"),
-2
builtin/fsck.c
··· 13 13 #include "tree-walk.h" 14 14 #include "fsck.h" 15 15 #include "parse-options.h" 16 - #include "dir.h" 17 16 #include "progress.h" 18 17 #include "streaming.h" 19 - #include "decorate.h" 20 18 #include "packfile.h" 21 19 #include "object-file.h" 22 20 #include "object-name.h"
-1
builtin/get-tar-commit-id.c
··· 4 4 #include "builtin.h" 5 5 #include "commit.h" 6 6 #include "tar.h" 7 - #include "quote.h" 8 7 9 8 static const char builtin_get_tar_commit_id_usage[] = 10 9 "git get-tar-commit-id";
-3
builtin/grep.c
··· 9 9 #include "hex.h" 10 10 #include "repository.h" 11 11 #include "config.h" 12 - #include "blob.h" 13 - #include "tree.h" 14 - #include "commit.h" 15 12 #include "tag.h" 16 13 #include "tree-walk.h" 17 14 #include "parse-options.h"
-1
builtin/hash-object.c
··· 14 14 #include "blob.h" 15 15 #include "quote.h" 16 16 #include "parse-options.h" 17 - #include "exec-cmd.h" 18 17 #include "setup.h" 19 18 #include "strbuf.h" 20 19 #include "write-or-die.h"
-1
builtin/hook.c
··· 3 3 #include "gettext.h" 4 4 #include "hook.h" 5 5 #include "parse-options.h" 6 - #include "strbuf.h" 7 6 #include "strvec.h" 8 7 9 8 #define BUILTIN_HOOK_RUN_USAGE \
-2
builtin/index-pack.c
··· 8 8 #include "csum-file.h" 9 9 #include "blob.h" 10 10 #include "commit.h" 11 - #include "tag.h" 12 11 #include "tree.h" 13 12 #include "progress.h" 14 13 #include "fsck.h" 15 - #include "exec-cmd.h" 16 14 #include "strbuf.h" 17 15 #include "streaming.h" 18 16 #include "thread-utils.h"
-1
builtin/init-db.c
··· 5 5 */ 6 6 #include "builtin.h" 7 7 #include "abspath.h" 8 - #include "config.h" 9 8 #include "environment.h" 10 9 #include "gettext.h" 11 10 #include "object-file.h"
-2
builtin/log.c
··· 26 26 #include "tag.h" 27 27 #include "reflog-walk.h" 28 28 #include "patch-ids.h" 29 - #include "run-command.h" 30 29 #include "shortlog.h" 31 30 #include "remote.h" 32 31 #include "string-list.h" ··· 36 35 #include "streaming.h" 37 36 #include "version.h" 38 37 #include "mailmap.h" 39 - #include "gpg-interface.h" 40 38 #include "progress.h" 41 39 #include "commit-slab.h" 42 40 #include "repository.h"
-4
builtin/ls-files.c
··· 14 14 #include "gettext.h" 15 15 #include "object-name.h" 16 16 #include "strbuf.h" 17 - #include "tree.h" 18 - #include "cache-tree.h" 19 17 #include "parse-options.h" 20 18 #include "resolve-undo.h" 21 19 #include "string-list.h" 22 20 #include "path.h" 23 21 #include "pathspec.h" 24 22 #include "read-cache.h" 25 - #include "run-command.h" 26 23 #include "setup.h" 27 24 #include "sparse-index.h" 28 25 #include "submodule.h" 29 - #include "submodule-config.h" 30 26 #include "object-store.h" 31 27 #include "hex.h" 32 28
-1
builtin/ls-remote.c
··· 5 5 #include "pkt-line.h" 6 6 #include "ref-filter.h" 7 7 #include "remote.h" 8 - #include "refs.h" 9 8 #include "parse-options.h" 10 9 #include "wildmatch.h" 11 10
-2
builtin/ls-tree.c
··· 9 9 #include "hex.h" 10 10 #include "object-name.h" 11 11 #include "object-store-ll.h" 12 - #include "blob.h" 13 12 #include "tree.h" 14 - #include "commit.h" 15 13 #include "path.h" 16 14 #include "quote.h" 17 15 #include "parse-options.h"
-1
builtin/mailinfo.c
··· 6 6 #include "abspath.h" 7 7 #include "environment.h" 8 8 #include "gettext.h" 9 - #include "utf8.h" 10 9 #include "strbuf.h" 11 10 #include "mailinfo.h" 12 11 #include "parse-options.h"
-3
builtin/merge-base.c
··· 3 3 #include "commit.h" 4 4 #include "gettext.h" 5 5 #include "hex.h" 6 - #include "refs.h" 7 - #include "diff.h" 8 - #include "revision.h" 9 6 #include "object-name.h" 10 7 #include "parse-options.h" 11 8 #include "repository.h"
-3
builtin/merge-recursive.c
··· 1 1 #include "builtin.h" 2 2 #include "advice.h" 3 - #include "commit.h" 4 3 #include "gettext.h" 5 4 #include "hash.h" 6 - #include "tag.h" 7 5 #include "merge-recursive.h" 8 6 #include "object-name.h" 9 7 #include "repository.h" 10 - #include "xdiff-interface.h" 11 8 12 9 static const char builtin_merge_recursive_usage[] = 13 10 "git %s <base>... -- <head> <remote> ...";
-1
builtin/merge-tree.c
··· 13 13 #include "parse-options.h" 14 14 #include "repository.h" 15 15 #include "blob.h" 16 - #include "exec-cmd.h" 17 16 #include "merge-blobs.h" 18 17 #include "quote.h" 19 18 #include "tree.h"
-4
builtin/merge.c
··· 31 31 #include "unpack-trees.h" 32 32 #include "cache-tree.h" 33 33 #include "dir.h" 34 - #include "utf8.h" 35 - #include "log-tree.h" 36 34 #include "color.h" 37 35 #include "rerere.h" 38 36 #include "help.h" ··· 42 40 #include "resolve-undo.h" 43 41 #include "remote.h" 44 42 #include "fmt-merge-msg.h" 45 - #include "gpg-interface.h" 46 43 #include "sequencer.h" 47 44 #include "string-list.h" 48 - #include "packfile.h" 49 45 #include "tag.h" 50 46 #include "alias.h" 51 47 #include "branch.h"
-1
builtin/mv.c
··· 15 15 #include "pathspec.h" 16 16 #include "lockfile.h" 17 17 #include "dir.h" 18 - #include "cache-tree.h" 19 18 #include "string-list.h" 20 19 #include "parse-options.h" 21 20 #include "read-cache-ll.h"
-2
builtin/notes.c
··· 9 9 10 10 #include "builtin.h" 11 11 #include "config.h" 12 - #include "alloc.h" 13 12 #include "editor.h" 14 13 #include "environment.h" 15 14 #include "gettext.h" ··· 19 18 #include "object-store-ll.h" 20 19 #include "path.h" 21 20 #include "repository.h" 22 - #include "blob.h" 23 21 #include "pretty.h" 24 22 #include "refs.h" 25 23 #include "exec-cmd.h"
-3
builtin/pack-objects.c
··· 6 6 #include "config.h" 7 7 #include "attr.h" 8 8 #include "object.h" 9 - #include "blob.h" 10 9 #include "commit.h" 11 10 #include "tag.h" 12 - #include "tree.h" 13 11 #include "delta.h" 14 12 #include "pack.h" 15 13 #include "pack-revindex.h" ··· 18 16 #include "diff.h" 19 17 #include "revision.h" 20 18 #include "list-objects.h" 21 - #include "list-objects-filter.h" 22 19 #include "list-objects-filter-options.h" 23 20 #include "pack-objects.h" 24 21 #include "progress.h"
-5
builtin/pull.c
··· 14 14 #include "merge.h" 15 15 #include "object-name.h" 16 16 #include "parse-options.h" 17 - #include "exec-cmd.h" 18 17 #include "run-command.h" 19 18 #include "oid-array.h" 20 19 #include "remote.h" ··· 24 23 #include "rebase.h" 25 24 #include "refs.h" 26 25 #include "refspec.h" 27 - #include "revision.h" 28 26 #include "submodule.h" 29 27 #include "submodule-config.h" 30 - #include "tempfile.h" 31 - #include "lockfile.h" 32 28 #include "wt-status.h" 33 29 #include "commit-reach.h" 34 30 #include "sequencer.h" 35 - #include "packfile.h" 36 31 37 32 /** 38 33 * Parses the value of --rebase. If value is a false value, returns
-1
builtin/push.c
··· 7 7 #include "config.h" 8 8 #include "environment.h" 9 9 #include "gettext.h" 10 - #include "refs.h" 11 10 #include "refspec.h" 12 11 #include "run-command.h" 13 12 #include "remote.h"
-1
builtin/range-diff.c
··· 5 5 #include "range-diff.h" 6 6 #include "config.h" 7 7 #include "repository.h" 8 - #include "revision.h" 9 8 10 9 static const char * const builtin_range_diff_usage[] = { 11 10 N_("git range-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"),
-2
builtin/read-tree.c
··· 16 16 #include "tree-walk.h" 17 17 #include "cache-tree.h" 18 18 #include "unpack-trees.h" 19 - #include "dir.h" 20 19 #include "parse-options.h" 21 20 #include "repository.h" 22 21 #include "resolve-undo.h" 23 22 #include "setup.h" 24 23 #include "sparse-index.h" 25 24 #include "submodule.h" 26 - #include "submodule-config.h" 27 25 28 26 static int nr_trees; 29 27 static int read_empty;
-4
builtin/rebase.c
··· 11 11 #include "gettext.h" 12 12 #include "hex.h" 13 13 #include "run-command.h" 14 - #include "exec-cmd.h" 15 14 #include "strvec.h" 16 15 #include "dir.h" 17 - #include "packfile.h" 18 16 #include "refs.h" 19 - #include "quote.h" 20 17 #include "config.h" 21 - #include "cache-tree.h" 22 18 #include "unpack-trees.h" 23 19 #include "lockfile.h" 24 20 #include "object-file.h"
-1
builtin/receive-pack.c
··· 22 22 #include "connected.h" 23 23 #include "strvec.h" 24 24 #include "version.h" 25 - #include "tag.h" 26 25 #include "gpg-interface.h" 27 26 #include "sigchain.h" 28 27 #include "fsck.h"
-1
builtin/repack.c
··· 8 8 #include "path.h" 9 9 #include "run-command.h" 10 10 #include "server-info.h" 11 - #include "sigchain.h" 12 11 #include "strbuf.h" 13 12 #include "string-list.h" 14 13 #include "strvec.h"
-1
builtin/rerere.c
··· 1 1 #include "builtin.h" 2 2 #include "config.h" 3 - #include "dir.h" 4 3 #include "gettext.h" 5 4 #include "parse-options.h" 6 5 #include "repository.h"
-3
builtin/reset.c
··· 16 16 #include "hash.h" 17 17 #include "hex.h" 18 18 #include "lockfile.h" 19 - #include "tag.h" 20 19 #include "object.h" 21 20 #include "pretty.h" 22 - #include "run-command.h" 23 21 #include "refs.h" 24 22 #include "diff.h" 25 23 #include "diffcore.h" ··· 33 31 #include "setup.h" 34 32 #include "sparse-index.h" 35 33 #include "submodule.h" 36 - #include "submodule-config.h" 37 34 #include "trace.h" 38 35 #include "trace2.h" 39 36 #include "dir.h"
-1
builtin/rev-list.c
··· 7 7 #include "hex.h" 8 8 #include "revision.h" 9 9 #include "list-objects.h" 10 - #include "list-objects-filter.h" 11 10 #include "list-objects-filter-options.h" 12 11 #include "object.h" 13 12 #include "object-name.h"
-2
builtin/revert.c
··· 1 1 #include "git-compat-util.h" 2 - #include "config.h" 3 2 #include "builtin.h" 4 3 #include "parse-options.h" 5 4 #include "diff.h" ··· 7 6 #include "repository.h" 8 7 #include "revision.h" 9 8 #include "rerere.h" 10 - #include "dir.h" 11 9 #include "sequencer.h" 12 10 #include "branch.h" 13 11
-1
builtin/rm.c
··· 9 9 #include "config.h" 10 10 #include "lockfile.h" 11 11 #include "dir.h" 12 - #include "cache-tree.h" 13 12 #include "gettext.h" 14 13 #include "hash.h" 15 14 #include "tree-walk.h"
-4
builtin/send-pack.c
··· 1 1 #include "builtin.h" 2 2 #include "config.h" 3 - #include "commit.h" 4 3 #include "hex.h" 5 - #include "refs.h" 6 4 #include "pkt-line.h" 7 5 #include "sideband.h" 8 6 #include "run-command.h" ··· 11 9 #include "send-pack.h" 12 10 #include "quote.h" 13 11 #include "transport.h" 14 - #include "version.h" 15 12 #include "oid-array.h" 16 - #include "gpg-interface.h" 17 13 #include "gettext.h" 18 14 #include "protocol.h" 19 15 #include "parse-options.h"
-1
builtin/show-ref.c
··· 6 6 #include "object-name.h" 7 7 #include "object-store-ll.h" 8 8 #include "object.h" 9 - #include "tag.h" 10 9 #include "string-list.h" 11 10 #include "parse-options.h" 12 11
-4
builtin/sparse-checkout.c
··· 8 8 #include "parse-options.h" 9 9 #include "pathspec.h" 10 10 #include "repository.h" 11 - #include "run-command.h" 12 11 #include "strbuf.h" 13 12 #include "string-list.h" 14 - #include "cache-tree.h" 15 13 #include "lockfile.h" 16 - #include "resolve-undo.h" 17 14 #include "unpack-trees.h" 18 - #include "wt-status.h" 19 15 #include "quote.h" 20 16 #include "setup.h" 21 17 #include "sparse-index.h"
-1
builtin/stash.c
··· 26 26 #include "sparse-index.h" 27 27 #include "log-tree.h" 28 28 #include "diffcore.h" 29 - #include "exec-cmd.h" 30 29 #include "reflog.h" 31 30 #include "add-interactive.h" 32 31
-1
builtin/submodule--helper.c
··· 22 22 #include "remote.h" 23 23 #include "refs.h" 24 24 #include "refspec.h" 25 - #include "connect.h" 26 25 #include "revision.h" 27 26 #include "diffcore.h" 28 27 #include "diff.h"
-1
builtin/tag.c
··· 18 18 #include "object-store-ll.h" 19 19 #include "path.h" 20 20 #include "tag.h" 21 - #include "run-command.h" 22 21 #include "parse-options.h" 23 22 #include "diff.h" 24 23 #include "revision.h"
-4
builtin/unpack-objects.c
··· 10 10 #include "delta.h" 11 11 #include "pack.h" 12 12 #include "blob.h" 13 - #include "commit.h" 14 13 #include "replace-object.h" 15 14 #include "strbuf.h" 16 - #include "tag.h" 17 - #include "tree.h" 18 - #include "tree-walk.h" 19 15 #include "progress.h" 20 16 #include "decorate.h" 21 17 #include "fsck.h"
-1
builtin/update-ref.c
··· 7 7 #include "parse-options.h" 8 8 #include "quote.h" 9 9 #include "repository.h" 10 - #include "strvec.h" 11 10 12 11 static const char * const git_update_ref_usage[] = { 13 12 N_("git update-ref [<options>] -d <refname> [<old-val>]"),
-2
builtin/verify-commit.c
··· 9 9 #include "config.h" 10 10 #include "gettext.h" 11 11 #include "object-name.h" 12 - #include "object-store-ll.h" 13 12 #include "repository.h" 14 13 #include "commit.h" 15 - #include "run-command.h" 16 14 #include "parse-options.h" 17 15 #include "gpg-interface.h" 18 16
-1
builtin/verify-tag.c
··· 9 9 #include "config.h" 10 10 #include "gettext.h" 11 11 #include "tag.h" 12 - #include "run-command.h" 13 12 #include "object-name.h" 14 13 #include "parse-options.h" 15 14 #include "gpg-interface.h"
-1
bulk-checkin.c
··· 11 11 #include "csum-file.h" 12 12 #include "pack.h" 13 13 #include "strbuf.h" 14 - #include "string-list.h" 15 14 #include "tmp-objdir.h" 16 15 #include "packfile.h" 17 16 #include "object-file.h"
-1
bundle-uri.c
··· 4 4 #include "copy.h" 5 5 #include "environment.h" 6 6 #include "gettext.h" 7 - #include "object-store-ll.h" 8 7 #include "refs.h" 9 8 #include "run-command.h" 10 9 #include "hashmap.h"
-1
cache-tree.c
··· 11 11 #include "read-cache-ll.h" 12 12 #include "replace-object.h" 13 13 #include "promisor-remote.h" 14 - #include "sparse-index.h" 15 14 #include "trace.h" 16 15 #include "trace2.h" 17 16
-1
combine-diff.c
··· 2 2 #include "object-store-ll.h" 3 3 #include "commit.h" 4 4 #include "convert.h" 5 - #include "blob.h" 6 5 #include "diff.h" 7 6 #include "diffcore.h" 8 7 #include "environment.h"
-1
commit-graph.c
··· 8 8 #include "commit.h" 9 9 #include "object.h" 10 10 #include "refs.h" 11 - #include "revision.h" 12 11 #include "hash-lookup.h" 13 12 #include "commit-graph.h" 14 13 #include "object-file.h"
-1
commit-reach.c
··· 4 4 #include "decorate.h" 5 5 #include "hex.h" 6 6 #include "prio-queue.h" 7 - #include "tree.h" 8 7 #include "ref-filter.h" 9 8 #include "revision.h" 10 9 #include "tag.h"
-2
commit.c
··· 8 8 #include "repository.h" 9 9 #include "object-name.h" 10 10 #include "object-store-ll.h" 11 - #include "pkt-line.h" 12 11 #include "utf8.h" 13 12 #include "diff.h" 14 13 #include "revision.h" ··· 23 22 #include "advice.h" 24 23 #include "refs.h" 25 24 #include "commit-reach.h" 26 - #include "run-command.h" 27 25 #include "setup.h" 28 26 #include "shallow.h" 29 27 #include "tree.h"
-3
config.c
··· 30 30 #include "pager.h" 31 31 #include "path.h" 32 32 #include "utf8.h" 33 - #include "dir.h" 34 33 #include "color.h" 35 - #include "replace-object.h" 36 34 #include "refs.h" 37 35 #include "setup.h" 38 36 #include "strvec.h" 39 37 #include "trace2.h" 40 38 #include "wildmatch.h" 41 - #include "worktree.h" 42 39 #include "ws.h" 43 40 #include "write-or-die.h" 44 41
-5
delta-islands.c
··· 1 1 #include "git-compat-util.h" 2 - #include "attr.h" 3 2 #include "object.h" 4 - #include "blob.h" 5 3 #include "commit.h" 6 4 #include "gettext.h" 7 5 #include "hex.h" 8 6 #include "tag.h" 9 7 #include "tree.h" 10 - #include "delta.h" 11 8 #include "pack.h" 12 9 #include "tree-walk.h" 13 10 #include "diff.h" 14 - #include "revision.h" 15 - #include "list-objects.h" 16 11 #include "progress.h" 17 12 #include "refs.h" 18 13 #include "khash.h"
-1
diff-lib.c
··· 2 2 * Copyright (C) 2005 Junio C Hamano 3 3 */ 4 4 #include "git-compat-util.h" 5 - #include "quote.h" 6 5 #include "commit.h" 7 6 #include "diff.h" 8 7 #include "diffcore.h"
-3
diff-no-index.c
··· 8 8 #include "abspath.h" 9 9 #include "color.h" 10 10 #include "commit.h" 11 - #include "blob.h" 12 - #include "tag.h" 13 11 #include "diff.h" 14 12 #include "diffcore.h" 15 13 #include "gettext.h" 16 14 #include "revision.h" 17 - #include "log-tree.h" 18 15 #include "parse-options.h" 19 16 #include "string-list.h" 20 17 #include "dir.h"
-2
diff.c
··· 16 16 #include "hex.h" 17 17 #include "xdiff-interface.h" 18 18 #include "color.h" 19 - #include "attr.h" 20 19 #include "run-command.h" 21 20 #include "utf8.h" 22 21 #include "object-store-ll.h" 23 22 #include "userdiff.h" 24 - #include "submodule-config.h" 25 23 #include "submodule.h" 26 24 #include "hashmap.h" 27 25 #include "mem-pool.h"
-1
diffcore-break.c
··· 2 2 * Copyright (C) 2005 Junio C Hamano 3 3 */ 4 4 #include "git-compat-util.h" 5 - #include "diff.h" 6 5 #include "diffcore.h" 7 6 #include "hash.h" 8 7 #include "object.h"
-1
diffcore-delta.c
··· 1 1 #include "git-compat-util.h" 2 - #include "diff.h" 3 2 #include "diffcore.h" 4 3 5 4 /*
-1
dir.c
··· 16 16 #include "object-file.h" 17 17 #include "object-store-ll.h" 18 18 #include "path.h" 19 - #include "attr.h" 20 19 #include "refs.h" 21 20 #include "wildmatch.h" 22 21 #include "pathspec.h"
-1
entry.c
··· 1 1 #include "git-compat-util.h" 2 - #include "blob.h" 3 2 #include "object-store-ll.h" 4 3 #include "dir.h" 5 4 #include "environment.h"
-1
exec-cmd.c
··· 4 4 #include "exec-cmd.h" 5 5 #include "gettext.h" 6 6 #include "path.h" 7 - #include "quote.h" 8 7 #include "run-command.h" 9 8 #include "strvec.h" 10 9 #include "trace.h"
-2
fetch-pack.c
··· 10 10 #include "pkt-line.h" 11 11 #include "commit.h" 12 12 #include "tag.h" 13 - #include "exec-cmd.h" 14 13 #include "pack.h" 15 14 #include "sideband.h" 16 15 #include "fetch-pack.h" ··· 18 17 #include "run-command.h" 19 18 #include "connect.h" 20 19 #include "trace2.h" 21 - #include "transport.h" 22 20 #include "version.h" 23 21 #include "oid-array.h" 24 22 #include "oidset.h"
-1
fsck.c
··· 16 16 #include "refs.h" 17 17 #include "url.h" 18 18 #include "utf8.h" 19 - #include "decorate.h" 20 19 #include "oidset.h" 21 20 #include "packfile.h" 22 21 #include "submodule-config.h"
-2
gettext.c
··· 7 7 #include "environment.h" 8 8 #include "exec-cmd.h" 9 9 #include "gettext.h" 10 - #include "strbuf.h" 11 10 #include "utf8.h" 12 - #include "config.h" 13 11 14 12 #ifndef NO_GETTEXT 15 13 # include <libintl.h>
-1
gpg-interface.c
··· 12 12 #include "sigchain.h" 13 13 #include "tempfile.h" 14 14 #include "alias.h" 15 - #include "environment.h" 16 15 17 16 static int git_gpg_config(const char *, const char *, 18 17 const struct config_context *, void *);
-1
grep.c
··· 9 9 #include "xdiff-interface.h" 10 10 #include "diff.h" 11 11 #include "diffcore.h" 12 - #include "commit.h" 13 12 #include "quote.h" 14 13 #include "help.h" 15 14
-1
http-fetch.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "config.h" 3 - #include "exec-cmd.h" 4 3 #include "gettext.h" 5 4 #include "hex.h" 6 5 #include "http.h"
-2
http-push.c
··· 6 6 #include "tag.h" 7 7 #include "blob.h" 8 8 #include "http.h" 9 - #include "refs.h" 10 9 #include "diff.h" 11 10 #include "revision.h" 12 - #include "exec-cmd.h" 13 11 #include "remote.h" 14 12 #include "list-objects.h" 15 13 #include "setup.h"
-1
http-walker.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "repository.h" 3 - #include "commit.h" 4 3 #include "hex.h" 5 4 #include "walker.h" 6 5 #include "http.h"
-1
http.c
··· 15 15 #include "trace.h" 16 16 #include "transport.h" 17 17 #include "packfile.h" 18 - #include "protocol.h" 19 18 #include "string-list.h" 20 19 #include "object-file.h" 21 20 #include "object-store-ll.h"
-2
imap-send.c
··· 24 24 #include "git-compat-util.h" 25 25 #include "config.h" 26 26 #include "credential.h" 27 - #include "exec-cmd.h" 28 27 #include "gettext.h" 29 28 #include "run-command.h" 30 29 #include "parse-options.h" 31 30 #include "setup.h" 32 - #include "strbuf.h" 33 31 #if defined(NO_OPENSSL) && !defined(HAVE_OPENSSL_CSPRNG) 34 32 typedef void *SSL; 35 33 #endif
-2
line-log.c
··· 2 2 #include "line-range.h" 3 3 #include "hex.h" 4 4 #include "tag.h" 5 - #include "blob.h" 6 5 #include "tree.h" 7 6 #include "diff.h" 8 7 #include "commit.h" ··· 12 11 #include "xdiff-interface.h" 13 12 #include "strbuf.h" 14 13 #include "log-tree.h" 15 - #include "graph.h" 16 14 #include "userdiff.h" 17 15 #include "line-log.h" 18 16 #include "setup.h"
-1
line-range.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "line-range.h" 3 3 #include "xdiff-interface.h" 4 - #include "strbuf.h" 5 4 #include "userdiff.h" 6 5 7 6 /*
-5
list-objects-filter-options.c
··· 1 1 #include "git-compat-util.h" 2 - #include "commit.h" 3 2 #include "config.h" 4 3 #include "gettext.h" 5 - #include "revision.h" 6 - #include "strvec.h" 7 - #include "list-objects.h" 8 - #include "list-objects-filter.h" 9 4 #include "list-objects-filter-options.h" 10 5 #include "promisor-remote.h" 11 6 #include "trace.h"
-5
list-objects-filter.c
··· 2 2 #include "dir.h" 3 3 #include "gettext.h" 4 4 #include "hex.h" 5 - #include "tag.h" 6 5 #include "commit.h" 7 - #include "tree.h" 8 - #include "blob.h" 9 6 #include "diff.h" 10 - #include "tree-walk.h" 11 7 #include "revision.h" 12 - #include "list-objects.h" 13 8 #include "list-objects-filter.h" 14 9 #include "list-objects-filter-options.h" 15 10 #include "oidmap.h"
-1
ls-refs.c
··· 5 5 #include "hex.h" 6 6 #include "repository.h" 7 7 #include "refs.h" 8 - #include "remote.h" 9 8 #include "strvec.h" 10 9 #include "ls-refs.h" 11 10 #include "pkt-line.h"
-2
merge-blobs.c
··· 1 1 #include "git-compat-util.h" 2 - #include "run-command.h" 3 - #include "xdiff-interface.h" 4 2 #include "merge-ll.h" 5 3 #include "blob.h" 6 4 #include "merge-blobs.h"
-2
merge-ort.c
··· 19 19 20 20 #include "alloc.h" 21 21 #include "attr.h" 22 - #include "blob.h" 23 22 #include "cache-tree.h" 24 23 #include "commit.h" 25 24 #include "commit-reach.h" ··· 42 41 #include "revision.h" 43 42 #include "sparse-index.h" 44 43 #include "strmap.h" 45 - #include "submodule-config.h" 46 44 #include "submodule.h" 47 45 #include "trace2.h" 48 46 #include "tree.h"
-5
merge-recursive.c
··· 6 6 #include "git-compat-util.h" 7 7 #include "merge-recursive.h" 8 8 9 - #include "advice.h" 10 9 #include "alloc.h" 11 - #include "attr.h" 12 - #include "blob.h" 13 10 #include "cache-tree.h" 14 11 #include "commit.h" 15 12 #include "commit-reach.h" ··· 32 29 #include "revision.h" 33 30 #include "sparse-index.h" 34 31 #include "string-list.h" 35 - #include "submodule-config.h" 36 - #include "submodule.h" 37 32 #include "symlinks.h" 38 33 #include "tag.h" 39 34 #include "tree-walk.h"
-3
merge.c
··· 1 1 #include "git-compat-util.h" 2 - #include "diff.h" 3 - #include "diffcore.h" 4 2 #include "gettext.h" 5 3 #include "hash.h" 6 4 #include "hex.h" ··· 13 11 #include "tree.h" 14 12 #include "tree-walk.h" 15 13 #include "unpack-trees.h" 16 - #include "dir.h" 17 14 18 15 static const char *merge_argument(struct commit *commit) 19 16 {
-1
negotiator/noop.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "noop.h" 3 - #include "../commit.h" 4 3 #include "../fetch-negotiator.h" 5 4 6 5 static void known_common(struct fetch_negotiator *n UNUSED,
-2
notes.c
··· 5 5 #include "notes.h" 6 6 #include "object-name.h" 7 7 #include "object-store-ll.h" 8 - #include "blob.h" 9 - #include "tree.h" 10 8 #include "utf8.h" 11 9 #include "strbuf.h" 12 10 #include "tree-walk.h"
-8
object-file.c
··· 15 15 #include "hex.h" 16 16 #include "string-list.h" 17 17 #include "lockfile.h" 18 - #include "delta.h" 19 18 #include "pack.h" 20 - #include "blob.h" 21 19 #include "commit.h" 22 20 #include "run-command.h" 23 - #include "tag.h" 24 - #include "tree.h" 25 - #include "tree-walk.h" 26 21 #include "refs.h" 27 - #include "pack-revindex.h" 28 - #include "hash-lookup.h" 29 22 #include "bulk-checkin.h" 30 23 #include "repository.h" 31 24 #include "replace-object.h" 32 25 #include "streaming.h" 33 26 #include "dir.h" 34 27 #include "list.h" 35 - #include "mergesort.h" 36 28 #include "quote.h" 37 29 #include "packfile.h" 38 30 #include "object-file.h"
-2
object-name.c
··· 8 8 #include "tag.h" 9 9 #include "commit.h" 10 10 #include "tree.h" 11 - #include "blob.h" 12 11 #include "tree-walk.h" 13 12 #include "refs.h" 14 13 #include "remote.h" ··· 21 20 #include "read-cache-ll.h" 22 21 #include "repository.h" 23 22 #include "setup.h" 24 - #include "submodule.h" 25 23 #include "midx.h" 26 24 #include "commit-reach.h" 27 25 #include "date.h"
-3
pack-bitmap-write.c
··· 4 4 #include "hex.h" 5 5 #include "object-store-ll.h" 6 6 #include "commit.h" 7 - #include "tag.h" 8 7 #include "diff.h" 9 8 #include "revision.h" 10 - #include "list-objects.h" 11 9 #include "progress.h" 12 - #include "pack-revindex.h" 13 10 #include "pack.h" 14 11 #include "pack-bitmap.h" 15 12 #include "hash-lookup.h"
-1
pack-check.c
··· 3 3 #include "hex.h" 4 4 #include "repository.h" 5 5 #include "pack.h" 6 - #include "pack-revindex.h" 7 6 #include "progress.h" 8 7 #include "packfile.h" 9 8 #include "object-file.h"
-1
pack-write.c
··· 7 7 #include "remote.h" 8 8 #include "chunk-format.h" 9 9 #include "pack-mtimes.h" 10 - #include "oidmap.h" 11 10 #include "pack-objects.h" 12 11 #include "pack-revindex.h" 13 12 #include "path.h"
-1
packfile.c
··· 9 9 #include "mergesort.h" 10 10 #include "packfile.h" 11 11 #include "delta.h" 12 - #include "streaming.h" 13 12 #include "hash-lookup.h" 14 13 #include "commit.h" 15 14 #include "object.h"
-2
parse-options.c
··· 2 2 #include "parse-options.h" 3 3 #include "abspath.h" 4 4 #include "parse.h" 5 - #include "commit.h" 6 - #include "color.h" 7 5 #include "gettext.h" 8 6 #include "strbuf.h" 9 7 #include "string-list.h"
-1
patch-ids.c
··· 2 2 #include "diff.h" 3 3 #include "commit.h" 4 4 #include "hash.h" 5 - #include "hash-lookup.h" 6 5 #include "hex.h" 7 6 #include "patch-ids.h" 8 7
-1
protocol-caps.c
··· 3 3 #include "gettext.h" 4 4 #include "hex.h" 5 5 #include "pkt-line.h" 6 - #include "strvec.h" 7 6 #include "hash-ll.h" 8 7 #include "hex.h" 9 8 #include "object.h"
-1
reachable.c
··· 2 2 #include "gettext.h" 3 3 #include "hex.h" 4 4 #include "refs.h" 5 - #include "tag.h" 6 5 #include "commit.h" 7 6 #include "blob.h" 8 7 #include "diff.h"
-2
read-cache.c
··· 20 20 #include "oid-array.h" 21 21 #include "tree.h" 22 22 #include "commit.h" 23 - #include "blob.h" 24 23 #include "environment.h" 25 24 #include "gettext.h" 26 25 #include "mem-pool.h" ··· 31 30 #include "read-cache.h" 32 31 #include "resolve-undo.h" 33 32 #include "revision.h" 34 - #include "run-command.h" 35 33 #include "strbuf.h" 36 34 #include "trace2.h" 37 35 #include "varint.h"
-2
ref-filter.c
··· 22 22 #include "ref-filter.h" 23 23 #include "revision.h" 24 24 #include "utf8.h" 25 - #include "version.h" 26 25 #include "versioncmp.h" 27 26 #include "trailer.h" 28 27 #include "wt-status.h" 29 28 #include "commit-slab.h" 30 - #include "commit-graph.h" 31 29 #include "commit-reach.h" 32 30 #include "worktree.h" 33 31 #include "hashmap.h"
-1
reflog.c
··· 6 6 #include "revision.h" 7 7 #include "tree.h" 8 8 #include "tree-walk.h" 9 - #include "worktree.h" 10 9 11 10 /* Remember to update object flag allocation in object.h */ 12 11 #define INCOMPLETE (1u<<10)
-2
refs/files-backend.c
··· 1 1 #include "../git-compat-util.h" 2 - #include "../config.h" 3 2 #include "../copy.h" 4 3 #include "../environment.h" 5 4 #include "../gettext.h" ··· 19 18 #include "../dir.h" 20 19 #include "../chdir-notify.h" 21 20 #include "../setup.h" 22 - #include "../worktree.h" 23 21 #include "../wrapper.h" 24 22 #include "../write-or-die.h" 25 23 #include "../revision.h"
-1
refs/packed-backend.c
··· 1 1 #include "../git-compat-util.h" 2 - #include "../alloc.h" 3 2 #include "../config.h" 4 3 #include "../gettext.h" 5 4 #include "../hash.h"
-1
refs/ref-cache.c
··· 1 1 #include "../git-compat-util.h" 2 - #include "../alloc.h" 3 2 #include "../hash.h" 4 3 #include "../refs.h" 5 4 #include "../repository.h"
-2
reftable/dump.c
··· 11 11 12 12 #include "reftable-blocksource.h" 13 13 #include "reftable-error.h" 14 - #include "reftable-merged.h" 15 14 #include "reftable-record.h" 16 15 #include "reftable-tests.h" 17 16 #include "reftable-writer.h" 18 17 #include "reftable-iterator.h" 19 18 #include "reftable-reader.h" 20 19 #include "reftable-stack.h" 21 - #include "reftable-generic.h" 22 20 23 21 #include <stddef.h> 24 22 #include <stdio.h>
-1
reftable/generic.c
··· 6 6 https://developers.google.com/open-source/licenses/bsd 7 7 */ 8 8 9 - #include "basics.h" 10 9 #include "constants.h" 11 10 #include "record.h" 12 11 #include "generic.h"
-1
reftable/merged.c
··· 11 11 #include "constants.h" 12 12 #include "iter.h" 13 13 #include "pq.h" 14 - #include "reader.h" 15 14 #include "record.h" 16 15 #include "generic.h" 17 16 #include "reftable-merged.h"
-1
reftable/merged_test.c
··· 12 12 13 13 #include "basics.h" 14 14 #include "blocksource.h" 15 - #include "constants.h" 16 15 #include "reader.h" 17 16 #include "record.h" 18 17 #include "test_framework.h"
-1
reftable/reader.c
··· 16 16 #include "record.h" 17 17 #include "reftable-error.h" 18 18 #include "reftable-generic.h" 19 - #include "tree.h" 20 19 21 20 uint64_t block_source_size(struct reftable_block_source *source) 22 21 {
-1
reftable/readwrite_test.c
··· 11 11 #include "basics.h" 12 12 #include "block.h" 13 13 #include "blocksource.h" 14 - #include "constants.h" 15 14 #include "reader.h" 16 15 #include "record.h" 17 16 #include "test_framework.h"
-1
reftable/refname_test.c
··· 9 9 #include "basics.h" 10 10 #include "block.h" 11 11 #include "blocksource.h" 12 - #include "constants.h" 13 12 #include "reader.h" 14 13 #include "record.h" 15 14 #include "refname.h"
-1
reftable/stack_test.c
··· 13 13 #include "reftable-reader.h" 14 14 #include "merged.h" 15 15 #include "basics.h" 16 - #include "constants.h" 17 16 #include "record.h" 18 17 #include "test_framework.h" 19 18 #include "reftable-tests.h"
-1
reftable/test_framework.c
··· 9 9 #include "system.h" 10 10 #include "test_framework.h" 11 11 12 - #include "basics.h" 13 12 14 13 void set_test_hash(uint8_t *p, int i) 15 14 {
-2
reftable/tree_test.c
··· 9 9 #include "system.h" 10 10 #include "tree.h" 11 11 12 - #include "basics.h" 13 - #include "record.h" 14 12 #include "test_framework.h" 15 13 #include "reftable-tests.h" 16 14
-1
remote-curl.c
··· 8 8 #include "strbuf.h" 9 9 #include "walker.h" 10 10 #include "http.h" 11 - #include "exec-cmd.h" 12 11 #include "run-command.h" 13 12 #include "pkt-line.h" 14 13 #include "string-list.h"
-1
remote.c
··· 15 15 #include "diff.h" 16 16 #include "revision.h" 17 17 #include "dir.h" 18 - #include "tag.h" 19 18 #include "setup.h" 20 19 #include "string-list.h" 21 20 #include "strvec.h"
-2
rerere.c
··· 12 12 #include "dir.h" 13 13 #include "resolve-undo.h" 14 14 #include "merge-ll.h" 15 - #include "attr.h" 16 15 #include "path.h" 17 16 #include "pathspec.h" 18 17 #include "object-file.h" 19 18 #include "object-store-ll.h" 20 - #include "hash-lookup.h" 21 19 #include "strmap.h" 22 20 23 21 #define RESOLVED 0
-1
reset.c
··· 6 6 #include "object-name.h" 7 7 #include "refs.h" 8 8 #include "reset.h" 9 - #include "run-command.h" 10 9 #include "tree-walk.h" 11 10 #include "tree.h" 12 11 #include "unpack-trees.h"
-2
revision.c
··· 21 21 #include "reflog-walk.h" 22 22 #include "patch-ids.h" 23 23 #include "decorate.h" 24 - #include "log-tree.h" 25 24 #include "string-list.h" 26 25 #include "line-log.h" 27 26 #include "mailmap.h" 28 27 #include "commit-slab.h" 29 - #include "dir.h" 30 28 #include "cache-tree.h" 31 29 #include "bisect.h" 32 30 #include "packfile.h"
-2
run-command.c
··· 14 14 #include "quote.h" 15 15 #include "config.h" 16 16 #include "packfile.h" 17 - #include "hook.h" 18 17 #include "compat/nonblock.h" 19 - #include "alloc.h" 20 18 21 19 void child_process_init(struct child_process *child) 22 20 {
-2
send-pack.c
··· 4 4 #include "date.h" 5 5 #include "gettext.h" 6 6 #include "hex.h" 7 - #include "refs.h" 8 7 #include "object-store-ll.h" 9 8 #include "pkt-line.h" 10 9 #include "sideband.h" ··· 12 11 #include "remote.h" 13 12 #include "connect.h" 14 13 #include "send-pack.h" 15 - #include "quote.h" 16 14 #include "transport.h" 17 15 #include "version.h" 18 16 #include "oid-array.h"
-3
sequencer.c
··· 15 15 #include "pager.h" 16 16 #include "commit.h" 17 17 #include "sequencer.h" 18 - #include "tag.h" 19 18 #include "run-command.h" 20 19 #include "hook.h" 21 - #include "exec-cmd.h" 22 20 #include "utf8.h" 23 21 #include "cache-tree.h" 24 22 #include "diff.h" ··· 39 37 #include "notes-utils.h" 40 38 #include "sigchain.h" 41 39 #include "unpack-trees.h" 42 - #include "worktree.h" 43 40 #include "oidmap.h" 44 41 #include "oidset.h" 45 42 #include "commit-slab.h"
-1
setup.c
··· 13 13 #include "string-list.h" 14 14 #include "chdir-notify.h" 15 15 #include "path.h" 16 - #include "promisor-remote.h" 17 16 #include "quote.h" 18 17 #include "trace2.h" 19 18 #include "worktree.h"
-1
shallow.c
··· 7 7 #include "commit.h" 8 8 #include "tag.h" 9 9 #include "pkt-line.h" 10 - #include "remote.h" 11 10 #include "refs.h" 12 11 #include "oid-array.h" 13 12 #include "path.h"
-1
shell.c
··· 4 4 #include "strbuf.h" 5 5 #include "run-command.h" 6 6 #include "alias.h" 7 - #include "prompt.h" 8 7 9 8 #define COMMAND_DIR "git-shell-commands" 10 9 #define HELP_COMMAND COMMAND_DIR "/help"
-3
submodule.c
··· 17 17 #include "string-list.h" 18 18 #include "oid-array.h" 19 19 #include "strvec.h" 20 - #include "blob.h" 21 20 #include "thread-utils.h" 22 21 #include "path.h" 23 - #include "quote.h" 24 22 #include "remote.h" 25 23 #include "worktree.h" 26 24 #include "parse-options.h" ··· 30 28 #include "commit-reach.h" 31 29 #include "read-cache-ll.h" 32 30 #include "setup.h" 33 - #include "shallow.h" 34 31 #include "trace2.h" 35 32 36 33 static int config_update_recurse_submodules = RECURSE_SUBMODULES_OFF;
-2
t/helper/test-bundle-uri.c
··· 5 5 #include "strbuf.h" 6 6 #include "string-list.h" 7 7 #include "transport.h" 8 - #include "ref-filter.h" 9 8 #include "remote.h" 10 - #include "refs.h" 11 9 12 10 enum input_mode { 13 11 KEY_VALUE_PAIRS,
-2
t/helper/test-reach.c
··· 1 1 #include "test-tool.h" 2 2 #include "commit.h" 3 3 #include "commit-reach.h" 4 - #include "config.h" 5 4 #include "gettext.h" 6 5 #include "hex.h" 7 6 #include "object-name.h" 8 - #include "parse-options.h" 9 7 #include "ref-filter.h" 10 8 #include "setup.h" 11 9 #include "string-list.h"
-1
t/helper/test-repository.c
··· 1 1 #include "test-tool.h" 2 2 #include "commit-graph.h" 3 3 #include "commit.h" 4 - #include "config.h" 5 4 #include "environment.h" 6 5 #include "hex.h" 7 6 #include "object-store-ll.h"
-1
t/helper/test-simple-ipc.c
··· 4 4 5 5 #include "test-tool.h" 6 6 #include "gettext.h" 7 - #include "strbuf.h" 8 7 #include "simple-ipc.h" 9 8 #include "parse-options.h" 10 9 #include "thread-utils.h"
-1
tmp-objdir.c
··· 6 6 #include "environment.h" 7 7 #include "object-file.h" 8 8 #include "path.h" 9 - #include "sigchain.h" 10 9 #include "string-list.h" 11 10 #include "strbuf.h" 12 11 #include "strvec.h"
-3
trace2.c
··· 1 1 #include "git-compat-util.h" 2 2 #include "config.h" 3 - #include "json-writer.h" 4 - #include "quote.h" 5 3 #include "repository.h" 6 4 #include "run-command.h" 7 5 #include "sigchain.h" 8 6 #include "thread-utils.h" 9 - #include "version.h" 10 7 #include "trace.h" 11 8 #include "trace2.h" 12 9 #include "trace2/tr2_cfg.h"
-2
transport-helper.c
··· 3 3 #include "quote.h" 4 4 #include "run-command.h" 5 5 #include "commit.h" 6 - #include "diff.h" 7 6 #include "environment.h" 8 7 #include "gettext.h" 9 8 #include "hex.h" 10 9 #include "object-name.h" 11 10 #include "repository.h" 12 - #include "revision.h" 13 11 #include "remote.h" 14 12 #include "string-list.h" 15 13 #include "thread-utils.h"
-3
transport.c
··· 10 10 #include "remote.h" 11 11 #include "connect.h" 12 12 #include "send-pack.h" 13 - #include "walker.h" 14 13 #include "bundle.h" 15 - #include "dir.h" 16 14 #include "gettext.h" 17 15 #include "refs.h" 18 16 #include "refspec.h" ··· 26 24 #include "transport-internal.h" 27 25 #include "protocol.h" 28 26 #include "object-name.h" 29 - #include "object-store-ll.h" 30 27 #include "color.h" 31 28 #include "bundle-uri.h" 32 29
-3
tree.c
··· 1 1 #include "git-compat-util.h" 2 - #include "cache-tree.h" 3 2 #include "hex.h" 4 3 #include "tree.h" 5 4 #include "object-name.h" 6 5 #include "object-store-ll.h" 7 - #include "blob.h" 8 6 #include "commit.h" 9 - #include "tag.h" 10 7 #include "alloc.h" 11 8 #include "tree-walk.h" 12 9 #include "repository.h"
-6
upload-pack.c
··· 9 9 #include "repository.h" 10 10 #include "object-store-ll.h" 11 11 #include "oid-array.h" 12 - #include "tag.h" 13 12 #include "object.h" 14 13 #include "commit.h" 15 14 #include "diff.h" 16 15 #include "revision.h" 17 - #include "list-objects.h" 18 - #include "list-objects-filter.h" 19 16 #include "list-objects-filter-options.h" 20 17 #include "run-command.h" 21 18 #include "connect.h" ··· 24 21 #include "string-list.h" 25 22 #include "strvec.h" 26 23 #include "trace2.h" 27 - #include "prio-queue.h" 28 24 #include "protocol.h" 29 - #include "quote.h" 30 25 #include "upload-pack.h" 31 - #include "serve.h" 32 26 #include "commit-graph.h" 33 27 #include "commit-reach.h" 34 28 #include "shallow.h"
-1
wrapper.c
··· 5 5 #include "abspath.h" 6 6 #include "parse.h" 7 7 #include "gettext.h" 8 - #include "repository.h" 9 8 #include "strbuf.h" 10 9 #include "trace2.h" 11 10
-2
xdiff-interface.c
··· 6 6 #include "xdiff-interface.h" 7 7 #include "xdiff/xtypes.h" 8 8 #include "xdiff/xdiffi.h" 9 - #include "xdiff/xemit.h" 10 - #include "xdiff/xmacros.h" 11 9 #include "xdiff/xutils.h" 12 10 13 11 struct xdiff_emit_state {