1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-04-27 07:05:08 +02:00

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 "pkt-line.h"
#include "repository.h"
#include "sideband.h"
static void create_output_file(const char *output_file)
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

1
http.c
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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