treewide: remove unnecessary includes in source files

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Elijah Newren 2023-12-23 17:15:00 +00:00 committed by Junio C Hamano
parent ec2101abf3
commit d57c671a51
22 changed files with 0 additions and 25 deletions

View file

@ -9,7 +9,6 @@
#include "parse-options.h" #include "parse-options.h"
#include "pkt-line.h" #include "pkt-line.h"
#include "repository.h" #include "repository.h"
#include "sideband.h"
static void create_output_file(const char *output_file) static void create_output_file(const char *output_file)
{ {

View file

@ -4,7 +4,6 @@
#include "environment.h" #include "environment.h"
#include "gettext.h" #include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h"
#include "parse-options.h" #include "parse-options.h"
#include "repository.h" #include "repository.h"
#include "commit-graph.h" #include "commit-graph.h"

View file

@ -10,7 +10,6 @@
#include "refs.h" #include "refs.h"
#include "pack.h" #include "pack.h"
#include "cache-tree.h" #include "cache-tree.h"
#include "tree-walk.h"
#include "fsck.h" #include "fsck.h"
#include "parse-options.h" #include "parse-options.h"
#include "progress.h" #include "progress.h"

View file

@ -7,7 +7,6 @@
#include "parse-options.h" #include "parse-options.h"
#include "fsmonitor-ll.h" #include "fsmonitor-ll.h"
#include "fsmonitor-ipc.h" #include "fsmonitor-ipc.h"
#include "fsmonitor-path-utils.h"
#include "fsmonitor-settings.h" #include "fsmonitor-settings.h"
#include "compat/fsmonitor/fsm-health.h" #include "compat/fsmonitor/fsm-health.h"
#include "compat/fsmonitor/fsm-listen.h" #include "compat/fsmonitor/fsm-listen.h"
@ -15,7 +14,6 @@
#include "repository.h" #include "repository.h"
#include "simple-ipc.h" #include "simple-ipc.h"
#include "khash.h" #include "khash.h"
#include "pkt-line.h"
#include "run-command.h" #include "run-command.h"
#include "trace.h" #include "trace.h"
#include "trace2.h" #include "trace2.h"

View file

@ -14,7 +14,6 @@
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"
#include "run-command.h" #include "run-command.h"
#include "userdiff.h"
#include "grep.h" #include "grep.h"
#include "quote.h" #include "quote.h"
#include "dir.h" #include "dir.h"

View file

@ -3,7 +3,6 @@
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "strbuf.h" #include "strbuf.h"
#include "tag.h"
#include "replace-object.h" #include "replace-object.h"
#include "object-file.h" #include "object-file.h"
#include "object-store-ll.h" #include "object-store-ll.h"

View file

@ -12,7 +12,6 @@
#include "object-name.h" #include "object-name.h"
#include "object-file.h" #include "object-file.h"
#include "object-store-ll.h" #include "object-store-ll.h"
#include "pack.h"
#include "pack-bitmap.h" #include "pack-bitmap.h"
#include "log-tree.h" #include "log-tree.h"
#include "graph.h" #include "graph.h"

View file

@ -2,7 +2,6 @@
#include "config.h" #include "config.h"
#include "hex.h" #include "hex.h"
#include "pkt-line.h" #include "pkt-line.h"
#include "sideband.h"
#include "run-command.h" #include "run-command.h"
#include "remote.h" #include "remote.h"
#include "connect.h" #include "connect.h"

View file

@ -4,7 +4,6 @@
#include "gettext.h" #include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "pack.h"
#include "packfile.h" #include "packfile.h"
#include "commit.h" #include "commit.h"
#include "object.h" #include "object.h"

View file

@ -1,8 +1,5 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "simple-ipc.h" #include "simple-ipc.h"
#include "strbuf.h"
#include "pkt-line.h"
#include "thread-utils.h"
#ifndef SUPPORTS_SIMPLE_IPC #ifndef SUPPORTS_SIMPLE_IPC
/* /*

View file

@ -2,7 +2,6 @@
#include "gettext.h" #include "gettext.h"
#include "simple-ipc.h" #include "simple-ipc.h"
#include "strbuf.h" #include "strbuf.h"
#include "pkt-line.h"
#include "thread-utils.h" #include "thread-utils.h"
#include "trace2.h" #include "trace2.h"
#include "unix-socket.h" #include "unix-socket.h"

View file

@ -1,5 +1,4 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "fsmonitor-ll.h"
#include "gettext.h" #include "gettext.h"
#include "simple-ipc.h" #include "simple-ipc.h"
#include "fsmonitor-ipc.h" #include "fsmonitor-ipc.h"

1
http.c
View file

@ -4,7 +4,6 @@
#include "http.h" #include "http.h"
#include "config.h" #include "config.h"
#include "pack.h" #include "pack.h"
#include "sideband.h"
#include "run-command.h" #include "run-command.h"
#include "url.h" #include "url.h"
#include "urlmatch.h" #include "urlmatch.h"

View file

@ -12,7 +12,6 @@
#include "xdiff-interface.h" #include "xdiff-interface.h"
#include "strbuf.h" #include "strbuf.h"
#include "log-tree.h" #include "log-tree.h"
#include "userdiff.h"
#include "line-log.h" #include "line-log.h"
#include "setup.h" #include "setup.h"
#include "strvec.h" #include "strvec.h"

View file

@ -41,7 +41,6 @@
#include "revision.h" #include "revision.h"
#include "sparse-index.h" #include "sparse-index.h"
#include "strmap.h" #include "strmap.h"
#include "submodule.h"
#include "trace2.h" #include "trace2.h"
#include "tree.h" #include "tree.h"
#include "unpack-trees.h" #include "unpack-trees.h"

View file

@ -5,7 +5,6 @@
#include "gettext.h" #include "gettext.h"
#include "refs.h" #include "refs.h"
#include "notes-utils.h" #include "notes-utils.h"
#include "repository.h"
#include "strbuf.h" #include "strbuf.h"
void create_notes_commit(struct repository *r, void create_notes_commit(struct repository *r,

View file

@ -29,7 +29,6 @@
#include "commit-reach.h" #include "commit-reach.h"
#include "worktree.h" #include "worktree.h"
#include "hashmap.h" #include "hashmap.h"
#include "strvec.h"
static struct ref_msg { static struct ref_msg {
const char *gone; const char *gone;

View file

@ -11,7 +11,6 @@
#include "run-command.h" #include "run-command.h"
#include "pkt-line.h" #include "pkt-line.h"
#include "string-list.h" #include "string-list.h"
#include "sideband.h"
#include "strvec.h" #include "strvec.h"
#include "credential.h" #include "credential.h"
#include "oid-array.h" #include "oid-array.h"

View file

@ -2,7 +2,6 @@
#include "config.h" #include "config.h"
#include "repository.h" #include "repository.h"
#include "midx.h" #include "midx.h"
#include "compat/fsmonitor/fsm-listen.h"
static void repo_cfg_bool(struct repository *r, const char *key, int *dest, static void repo_cfg_bool(struct repository *r, const char *key, int *dest,
int def) int def)

View file

@ -3,7 +3,6 @@
#include "commit.h" #include "commit.h"
#include "environment.h" #include "environment.h"
#include "hex.h" #include "hex.h"
#include "object-store-ll.h"
#include "object.h" #include "object.h"
#include "repository.h" #include "repository.h"
#include "setup.h" #include "setup.h"

View file

@ -1,5 +1,4 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "thread-utils.h"
#include "trace2/tr2_tgt.h" #include "trace2/tr2_tgt.h"
#include "trace2/tr2_tls.h" #include "trace2/tr2_tls.h"
#include "trace2/tr2_ctr.h" #include "trace2/tr2_ctr.h"

View file

@ -1,5 +1,4 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "thread-utils.h"
#include "trace2/tr2_tgt.h" #include "trace2/tr2_tgt.h"
#include "trace2/tr2_tls.h" #include "trace2/tr2_tls.h"
#include "trace2/tr2_tmr.h" #include "trace2/tr2_tmr.h"