1
0
mirror of https://github.com/git/git synced 2024-06-30 22:54:27 +00:00

treewide: remove unnecessary includes for wrapper.h

Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Calvin Wan 2023-07-05 17:09:23 +00:00 committed by Junio C Hamano
parent 28aed75a9f
commit da9502ff4d
74 changed files with 0 additions and 74 deletions

View File

@ -37,7 +37,6 @@
#include "symlinks.h" #include "symlinks.h"
#include "wildmatch.h" #include "wildmatch.h"
#include "ws.h" #include "ws.h"
#include "wrapper.h"
struct gitdiff_data { struct gitdiff_data {
struct strbuf *root; struct strbuf *root;

View File

@ -44,7 +44,6 @@
#include "path.h" #include "path.h"
#include "repository.h" #include "repository.h"
#include "pretty.h" #include "pretty.h"
#include "wrapper.h"
/** /**
* Returns the length of the first line of msg. * Returns the length of the first line of msg.

View File

@ -15,7 +15,6 @@
#include "prompt.h" #include "prompt.h"
#include "quote.h" #include "quote.h"
#include "revision.h" #include "revision.h"
#include "wrapper.h"
static GIT_PATH_FUNC(git_path_bisect_terms, "BISECT_TERMS") static GIT_PATH_FUNC(git_path_bisect_terms, "BISECT_TERMS")
static GIT_PATH_FUNC(git_path_bisect_expected_rev, "BISECT_EXPECTED_REV") static GIT_PATH_FUNC(git_path_bisect_expected_rev, "BISECT_EXPECTED_REV")

View File

@ -28,7 +28,6 @@
#include "worktree.h" #include "worktree.h"
#include "help.h" #include "help.h"
#include "commit-reach.h" #include "commit-reach.h"
#include "wrapper.h"
static const char * const builtin_branch_usage[] = { static const char * const builtin_branch_usage[] = {
N_("git branch [<options>] [-r | -a] [--merged] [--no-merged]"), N_("git branch [<options>] [-r | -a] [--merged] [--no-merged]"),

View File

@ -11,7 +11,6 @@
#include "diagnose.h" #include "diagnose.h"
#include "object-file.h" #include "object-file.h"
#include "setup.h" #include "setup.h"
#include "wrapper.h"
static void get_system_info(struct strbuf *sys_info) static void get_system_info(struct strbuf *sys_info)
{ {

View File

@ -45,7 +45,6 @@
#include "hook.h" #include "hook.h"
#include "bundle.h" #include "bundle.h"
#include "bundle-uri.h" #include "bundle-uri.h"
#include "wrapper.h"
/* /*
* Overall FIXMEs: * Overall FIXMEs:

View File

@ -15,7 +15,6 @@
#include "setup.h" #include "setup.h"
#include "strbuf.h" #include "strbuf.h"
#include "worktree.h" #include "worktree.h"
#include "wrapper.h"
static const char *const builtin_config_usage[] = { static const char *const builtin_config_usage[] = {
N_("git config [<options>]"), N_("git config [<options>]"),

View File

@ -3,7 +3,6 @@
#include "parse-options.h" #include "parse-options.h"
#include "path.h" #include "path.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
#ifndef NO_UNIX_SOCKETS #ifndef NO_UNIX_SOCKETS

View File

@ -32,7 +32,6 @@
#include "dir.h" #include "dir.h"
#include "entry.h" #include "entry.h"
#include "setup.h" #include "setup.h"
#include "wrapper.h"
static int trust_exit_code; static int trust_exit_code;

View File

@ -26,7 +26,6 @@
#include "commit-reach.h" #include "commit-reach.h"
#include "khash.h" #include "khash.h"
#include "date.h" #include "date.h"
#include "wrapper.h"
#define PACK_ID_BITS 16 #define PACK_ID_BITS 16
#define MAX_PACK_ID ((1<<PACK_ID_BITS)-1) #define MAX_PACK_ID ((1<<PACK_ID_BITS)-1)

View File

@ -3,7 +3,6 @@
#include "fmt-merge-msg.h" #include "fmt-merge-msg.h"
#include "gettext.h" #include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "wrapper.h"
static const char * const fmt_merge_msg_usage[] = { static const char * const fmt_merge_msg_usage[] = {
N_("git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] [--file <file>]"), N_("git fmt-merge-msg [-m <message>] [--log[=<n>] | --no-log] [--file <file>]"),

View File

@ -41,7 +41,6 @@
#include "hook.h" #include "hook.h"
#include "setup.h" #include "setup.h"
#include "trace2.h" #include "trace2.h"
#include "wrapper.h"
#define FAILED_RUN "failed to run %s" #define FAILED_RUN "failed to run %s"

View File

@ -5,7 +5,6 @@
#include "commit.h" #include "commit.h"
#include "tar.h" #include "tar.h"
#include "quote.h" #include "quote.h"
#include "wrapper.h"
static const char builtin_get_tar_commit_id_usage[] = static const char builtin_get_tar_commit_id_usage[] =
"git get-tar-commit-id"; "git get-tar-commit-id";

View File

@ -25,7 +25,6 @@
#include "replace-object.h" #include "replace-object.h"
#include "promisor-remote.h" #include "promisor-remote.h"
#include "setup.h" #include "setup.h"
#include "wrapper.h"
static const char index_pack_usage[] = static const char index_pack_usage[] =
"git index-pack [-v] [-o <index-file>] [--keep | --keep=<msg>] [--[no-]rev-index] [--verify] [--strict] (<pack-file> | --stdin [--fix-thin] [<pack-file>])"; "git index-pack [-v] [-o <index-file>] [--keep | --keep=<msg>] [--[no-]rev-index] [--verify] [--strict] (<pack-file> | --stdin [--fix-thin] [<pack-file>])";

View File

@ -13,7 +13,6 @@
#include "path.h" #include "path.h"
#include "setup.h" #include "setup.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
static int guess_repository_type(const char *git_dir) static int guess_repository_type(const char *git_dir)
{ {

View File

@ -53,7 +53,6 @@
#include "commit-reach.h" #include "commit-reach.h"
#include "wt-status.h" #include "wt-status.h"
#include "commit-graph.h" #include "commit-graph.h"
#include "wrapper.h"
#define DEFAULT_TWOHEAD (1<<0) #define DEFAULT_TWOHEAD (1<<0)
#define DEFAULT_OCTOPUS (1<<1) #define DEFAULT_OCTOPUS (1<<1)

View File

@ -43,7 +43,6 @@
#include "promisor-remote.h" #include "promisor-remote.h"
#include "pack-mtimes.h" #include "pack-mtimes.h"
#include "parse-options.h" #include "parse-options.h"
#include "wrapper.h"
/* /*
* Objects we are going to pack are collected in the `to_pack` structure. * Objects we are going to pack are collected in the `to_pack` structure.

View File

@ -37,7 +37,6 @@
#include "reset.h" #include "reset.h"
#include "trace2.h" #include "trace2.h"
#include "hook.h" #include "hook.h"
#include "wrapper.h"
static char const * const builtin_rebase_usage[] = { static char const * const builtin_rebase_usage[] = {
N_("git rebase [-i] [options] [--exec <cmd>] " N_("git rebase [-i] [options] [--exec <cmd>] "

View File

@ -40,7 +40,6 @@
#include "worktree.h" #include "worktree.h"
#include "shallow.h" #include "shallow.h"
#include "parse-options.h" #include "parse-options.h"
#include "wrapper.h"
static const char * const receive_pack_usage[] = { static const char * const receive_pack_usage[] = {
N_("git receive-pack <git-dir>"), N_("git receive-pack <git-dir>"),

View File

@ -6,7 +6,6 @@
#include "repository.h" #include "repository.h"
#include "string-list.h" #include "string-list.h"
#include "rerere.h" #include "rerere.h"
#include "wrapper.h"
#include "xdiff/xdiff.h" #include "xdiff/xdiff.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"
#include "pathspec.h" #include "pathspec.h"

View File

@ -3,7 +3,6 @@
#include "hex.h" #include "hex.h"
#include "object-name.h" #include "object-name.h"
#include "object-store-ll.h" #include "object-store-ll.h"
#include "wrapper.h"
static char *create_temp_file(struct object_id *oid) static char *create_temp_file(struct object_id *oid)
{ {

View File

@ -24,7 +24,6 @@
#include "submodule.h" #include "submodule.h"
#include "utf8.h" #include "utf8.h"
#include "worktree.h" #include "worktree.h"
#include "wrapper.h"
#include "quote.h" #include "quote.h"
#define BUILTIN_WORKTREE_ADD_USAGE \ #define BUILTIN_WORKTREE_ADD_USAGE \

View File

@ -17,7 +17,6 @@
#include "packfile.h" #include "packfile.h"
#include "object-file.h" #include "object-file.h"
#include "object-store-ll.h" #include "object-store-ll.h"
#include "wrapper.h"
static int odb_transaction_nesting; static int odb_transaction_nesting;

View File

@ -17,7 +17,6 @@
#include "userdiff.h" #include "userdiff.h"
#include "oid-array.h" #include "oid-array.h"
#include "revision.h" #include "revision.h"
#include "wrapper.h"
static int compare_paths(const struct combine_diff_path *one, static int compare_paths(const struct combine_diff_path *one,
const struct diff_filespec *two) const struct diff_filespec *two)

View File

@ -26,7 +26,6 @@
#include "trace2.h" #include "trace2.h"
#include "tree.h" #include "tree.h"
#include "chunk-format.h" #include "chunk-format.h"
#include "wrapper.h"
void git_test_write_commit_graph_or_die(void) void git_test_write_commit_graph_or_die(void)
{ {

View File

@ -6,7 +6,6 @@
#include "run-command.h" #include "run-command.h"
#include "string-list.h" #include "string-list.h"
#include "hashmap.h" #include "hashmap.h"
#include "wrapper.h"
#if defined(HAVE_DEV_TTY) || defined(GIT_WINDOWS_NATIVE) #if defined(HAVE_DEV_TTY) || defined(GIT_WINDOWS_NATIVE)

View File

@ -39,7 +39,6 @@
#include "wildmatch.h" #include "wildmatch.h"
#include "worktree.h" #include "worktree.h"
#include "ws.h" #include "ws.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
struct config_source { struct config_source {

View File

@ -16,7 +16,6 @@
#include "trace.h" #include "trace.h"
#include "utf8.h" #include "utf8.h"
#include "merge-ll.h" #include "merge-ll.h"
#include "wrapper.h"
/* /*
* convert.c - convert a file when checking it out and checking it in. * convert.c - convert a file when checking it out and checking it in.

1
copy.c
View File

@ -1,7 +1,6 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "copy.h" #include "copy.h"
#include "path.h" #include "path.h"
#include "wrapper.h"
int copy_fd(int ifd, int ofd) int copy_fd(int ifd, int ofd)
{ {

View File

@ -11,7 +11,6 @@
#include "progress.h" #include "progress.h"
#include "csum-file.h" #include "csum-file.h"
#include "hash.h" #include "hash.h"
#include "wrapper.h"
static void verify_buffer_or_die(struct hashfile *f, static void verify_buffer_or_die(struct hashfile *f,
const void *buf, const void *buf,

View File

@ -10,7 +10,6 @@
#include "setup.h" #include "setup.h"
#include "strbuf.h" #include "strbuf.h"
#include "string-list.h" #include "string-list.h"
#include "wrapper.h"
#ifdef NO_INITGROUPS #ifdef NO_INITGROUPS
#define initgroups(x, y) (0) /* nothing */ #define initgroups(x, y) (0) /* nothing */

1
diff.c
View File

@ -43,7 +43,6 @@
#include "setup.h" #include "setup.h"
#include "strmap.h" #include "strmap.h"
#include "ws.h" #include "ws.h"
#include "wrapper.h"
#ifdef NO_FAST_WORKING_DIRECTORY #ifdef NO_FAST_WORKING_DIRECTORY
#define FAST_WORKING_DIRECTORY 0 #define FAST_WORKING_DIRECTORY 0

1
dir.c
View File

@ -32,7 +32,6 @@
#include "symlinks.h" #include "symlinks.h"
#include "trace2.h" #include "trace2.h"
#include "tree.h" #include "tree.h"
#include "wrapper.h"
/* /*
* Tells read_directory_recursive how a file or directory should be treated. * Tells read_directory_recursive how a file or directory should be treated.

View File

@ -11,7 +11,6 @@
#include "strvec.h" #include "strvec.h"
#include "run-command.h" #include "run-command.h"
#include "sigchain.h" #include "sigchain.h"
#include "wrapper.h"
#ifndef DEFAULT_EDITOR #ifndef DEFAULT_EDITOR
#define DEFAULT_EDITOR "vi" #define DEFAULT_EDITOR "vi"

View File

@ -14,7 +14,6 @@
#include "fsmonitor.h" #include "fsmonitor.h"
#include "entry.h" #include "entry.h"
#include "parallel-checkout.h" #include "parallel-checkout.h"
#include "wrapper.h"
static void create_directories(const char *path, int path_len, static void create_directories(const char *path, int path_len,
const struct checkout *state) const struct checkout *state)

View File

@ -28,7 +28,6 @@
#include "setup.h" #include "setup.h"
#include "shallow.h" #include "shallow.h"
#include "trace.h" #include "trace.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
int trust_executable_bit = 1; int trust_executable_bit = 1;

View File

@ -34,7 +34,6 @@
#include "commit-graph.h" #include "commit-graph.h"
#include "sigchain.h" #include "sigchain.h"
#include "mergesort.h" #include "mergesort.h"
#include "wrapper.h"
static int transfer_unpack_limit = -1; static int transfer_unpack_limit = -1;
static int fetch_unpack_limit = -1; static int fetch_unpack_limit = -1;

View File

@ -12,7 +12,6 @@
#include "sigchain.h" #include "sigchain.h"
#include "tempfile.h" #include "tempfile.h"
#include "alias.h" #include "alias.h"
#include "wrapper.h"
static int git_gpg_config(const char *, const char *, void *); static int git_gpg_config(const char *, const char *, void *);

1
grep.c
View File

@ -12,7 +12,6 @@
#include "commit.h" #include "commit.h"
#include "quote.h" #include "quote.h"
#include "help.h" #include "help.h"
#include "wrapper.h"
static int grep_source_load(struct grep_source *gs); static int grep_source_load(struct grep_source *gs);
static int grep_source_is_binary(struct grep_source *gs, static int grep_source_is_binary(struct grep_source *gs,

View File

@ -19,7 +19,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "protocol.h" #include "protocol.h"
#include "date.h" #include "date.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
static const char content_type[] = "Content-Type"; static const char content_type[] = "Content-Type";

View File

@ -30,7 +30,6 @@
#include "parse-options.h" #include "parse-options.h"
#include "setup.h" #include "setup.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
#if defined(NO_OPENSSL) && !defined(HAVE_OPENSSL_CSPRNG) #if defined(NO_OPENSSL) && !defined(HAVE_OPENSSL_CSPRNG)
typedef void *SSL; typedef void *SSL;
#endif #endif

View File

@ -13,7 +13,6 @@
#include "merge-ll.h" #include "merge-ll.h"
#include "quote.h" #include "quote.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
struct ll_merge_driver; struct ll_merge_driver;

View File

@ -38,7 +38,6 @@
#include "tag.h" #include "tag.h"
#include "tree-walk.h" #include "tree-walk.h"
#include "unpack-trees.h" #include "unpack-trees.h"
#include "wrapper.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"
struct merge_options_internal { struct merge_options_internal {

View File

@ -20,7 +20,6 @@
#include "trace.h" #include "trace.h"
#include "notes-utils.h" #include "notes-utils.h"
#include "commit-reach.h" #include "commit-reach.h"
#include "wrapper.h"
struct notes_merge_pair { struct notes_merge_pair {
struct object_id obj, base, local, remote; struct object_id obj, base, local, remote;

View File

@ -44,7 +44,6 @@
#include "setup.h" #include "setup.h"
#include "submodule.h" #include "submodule.h"
#include "fsck.h" #include "fsck.h"
#include "wrapper.h"
/* The maximum size for an object header. */ /* The maximum size for an object header. */
#define MAX_HEADER_LEN 32 #define MAX_HEADER_LEN 32

View File

@ -12,7 +12,6 @@
#include "pack-revindex.h" #include "pack-revindex.h"
#include "path.h" #include "path.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
void reset_pack_idx_option(struct pack_idx_option *opts) void reset_pack_idx_option(struct pack_idx_option *opts)
{ {

View File

@ -24,7 +24,6 @@
#include "commit-graph.h" #include "commit-graph.h"
#include "pack-revindex.h" #include "pack-revindex.h"
#include "promisor-remote.h" #include "promisor-remote.h"
#include "wrapper.h"
char *odb_pack_name(struct strbuf *buf, char *odb_pack_name(struct strbuf *buf,
const unsigned char *hash, const unsigned char *hash,

View File

@ -15,7 +15,6 @@
#include "symlinks.h" #include "symlinks.h"
#include "thread-utils.h" #include "thread-utils.h"
#include "trace2.h" #include "trace2.h"
#include "wrapper.h"
struct pc_worker { struct pc_worker {
struct child_process cp; struct child_process cp;

1
path.c
View File

@ -18,7 +18,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "lockfile.h" #include "lockfile.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "wrapper.h"
static int get_st_mode_bits(const char *path, int *mode) static int get_st_mode_bits(const char *path, int *mode)
{ {

View File

@ -5,7 +5,6 @@
#include "hex.h" #include "hex.h"
#include "run-command.h" #include "run-command.h"
#include "trace.h" #include "trace.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
char packet_buffer[LARGE_PACKET_MAX]; char packet_buffer[LARGE_PACKET_MAX];

View File

@ -46,7 +46,6 @@
#include "csum-file.h" #include "csum-file.h"
#include "promisor-remote.h" #include "promisor-remote.h"
#include "hook.h" #include "hook.h"
#include "wrapper.h"
/* Mask for the name length in ce_flags in the on-disk index */ /* Mask for the name length in ce_flags in the on-disk index */

View File

@ -11,7 +11,6 @@
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "object-name.h" #include "object-name.h"
#include "wrapper.h"
static const char edit_todo_list_advice[] = static const char edit_todo_list_advice[] =
N_("You can fix this with 'git rebase --edit-todo' " N_("You can fix this with 'git rebase --edit-todo' "

1
refs.c
View File

@ -30,7 +30,6 @@
#include "date.h" #include "date.h"
#include "commit.h" #include "commit.h"
#include "wildmatch.h" #include "wildmatch.h"
#include "wrapper.h"
/* /*
* List of all available backends * List of all available backends

View File

@ -20,7 +20,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "hash-lookup.h" #include "hash-lookup.h"
#include "strmap.h" #include "strmap.h"
#include "wrapper.h"
#define RESOLVED 0 #define RESOLVED 0
#define PUNTED 1 #define PUNTED 1

View File

@ -15,7 +15,6 @@
#include "quote.h" #include "quote.h"
#include "transport.h" #include "transport.h"
#include "version.h" #include "version.h"
#include "wrapper.h"
#include "oid-array.h" #include "oid-array.h"
#include "gpg-interface.h" #include "gpg-interface.h"
#include "shallow.h" #include "shallow.h"

View File

@ -49,7 +49,6 @@
#include "rebase-interactive.h" #include "rebase-interactive.h"
#include "reset.h" #include "reset.h"
#include "branch.h" #include "branch.h"
#include "wrapper.h"
#define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION" #define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION"

View File

@ -14,7 +14,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "server-info.h" #include "server-info.h"
#include "strbuf.h" #include "strbuf.h"
#include "wrapper.h"
struct update_info_ctx { struct update_info_ctx {
FILE *cur_fp; FILE *cur_fp;

View File

@ -17,7 +17,6 @@
#include "quote.h" #include "quote.h"
#include "trace2.h" #include "trace2.h"
#include "worktree.h" #include "worktree.h"
#include "wrapper.h"
static int inside_git_dir = -1; static int inside_git_dir = -1;
static int inside_work_tree = -1; static int inside_work_tree = -1;

View File

@ -20,7 +20,6 @@
#include "shallow.h" #include "shallow.h"
#include "statinfo.h" #include "statinfo.h"
#include "trace.h" #include "trace.h"
#include "wrapper.h"
void set_alternate_shallow_file(struct repository *r, const char *path, int override) void set_alternate_shallow_file(struct repository *r, const char *path, int override)
{ {

View File

@ -11,7 +11,6 @@
#include "string-list.h" #include "string-list.h"
#include "utf8.h" #include "utf8.h"
#include "date.h" #include "date.h"
#include "wrapper.h"
int starts_with(const char *str, const char *prefix) int starts_with(const char *str, const char *prefix)
{ {

View File

@ -10,7 +10,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "replace-object.h" #include "replace-object.h"
#include "packfile.h" #include "packfile.h"
#include "wrapper.h"
typedef int (*open_istream_fn)(struct git_istream *, typedef int (*open_istream_fn)(struct git_istream *,
struct repository *, struct repository *,

View File

@ -11,7 +11,6 @@
#include "test-tool.h" #include "test-tool.h"
#include "git-compat-util.h" #include "git-compat-util.h"
#include "delta.h" #include "delta.h"
#include "wrapper.h"
static const char usage_str[] = static const char usage_str[] =
"test-tool delta (-d|-p) <from_file> <data_file> <out_file>"; "test-tool delta (-d|-p) <from_file> <data_file> <out_file>";

View File

@ -11,7 +11,6 @@
#include "setup.h" #include "setup.h"
#include "thread-utils.h" #include "thread-utils.h"
#include "trace2.h" #include "trace2.h"
#include "wrapper.h"
#ifndef HAVE_FSMONITOR_DAEMON_BACKEND #ifndef HAVE_FSMONITOR_DAEMON_BACKEND
int cmd__fsmonitor_client(int argc UNUSED, const char **argv UNUSED) int cmd__fsmonitor_client(int argc UNUSED, const char **argv UNUSED)

View File

@ -4,7 +4,6 @@
#include "read-cache-ll.h" #include "read-cache-ll.h"
#include "repository.h" #include "repository.h"
#include "setup.h" #include "setup.h"
#include "wrapper.h"
int cmd__read_cache(int argc, const char **argv) int cmd__read_cache(int argc, const char **argv)
{ {

1
tag.c
View File

@ -10,7 +10,6 @@
#include "gpg-interface.h" #include "gpg-interface.h"
#include "hex.h" #include "hex.h"
#include "packfile.h" #include "packfile.h"
#include "wrapper.h"
const char *tag_type = "tag"; const char *tag_type = "tag";

View File

@ -46,7 +46,6 @@
#include "path.h" #include "path.h"
#include "tempfile.h" #include "tempfile.h"
#include "sigchain.h" #include "sigchain.h"
#include "wrapper.h"
static VOLATILE_LIST_HEAD(tempfile_list); static VOLATILE_LIST_HEAD(tempfile_list);

View File

@ -27,7 +27,6 @@
#include "quote.h" #include "quote.h"
#include "setup.h" #include "setup.h"
#include "trace.h" #include "trace.h"
#include "wrapper.h"
struct trace_key trace_default_key = { "GIT_TRACE", 0, 0, 0 }; struct trace_key trace_default_key = { "GIT_TRACE", 0, 0, 0 };
struct trace_key trace_perf_key = TRACE_KEY_INIT(PERFORMANCE); struct trace_key trace_perf_key = TRACE_KEY_INIT(PERFORMANCE);

View File

@ -19,7 +19,6 @@
#include "refspec.h" #include "refspec.h"
#include "transport-internal.h" #include "transport-internal.h"
#include "protocol.h" #include "protocol.h"
#include "wrapper.h"
static int debug; static int debug;

View File

@ -30,7 +30,6 @@
#include "object-store-ll.h" #include "object-store-ll.h"
#include "color.h" #include "color.h"
#include "bundle-uri.h" #include "bundle-uri.h"
#include "wrapper.h"
static int transport_use_color = -1; static int transport_use_color = -1;
static char transport_colors[][COLOR_MAXLEN] = { static char transport_colors[][COLOR_MAXLEN] = {

View File

@ -32,7 +32,6 @@
#include "commit-graph.h" #include "commit-graph.h"
#include "commit-reach.h" #include "commit-reach.h"
#include "shallow.h" #include "shallow.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
/* Remember to update object flag allocation in object.h */ /* Remember to update object flag allocation in object.h */

View File

@ -6,7 +6,6 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "gettext.h" #include "gettext.h"
#include "trace2.h" #include "trace2.h"
#include "wrapper.h"
static void vreportf(const char *prefix, const char *err, va_list params) static void vreportf(const char *prefix, const char *err, va_list params)
{ {

View File

@ -12,7 +12,6 @@
#include "dir.h" #include "dir.h"
#include "wt-status.h" #include "wt-status.h"
#include "config.h" #include "config.h"
#include "wrapper.h"
void free_worktrees(struct worktree **worktrees) void free_worktrees(struct worktree **worktrees)
{ {

View File

@ -9,7 +9,6 @@
#include "repository.h" #include "repository.h"
#include "strbuf.h" #include "strbuf.h"
#include "trace2.h" #include "trace2.h"
#include "wrapper.h"
static intmax_t count_fsync_writeout_only; static intmax_t count_fsync_writeout_only;
static intmax_t count_fsync_hardware_flush; static intmax_t count_fsync_hardware_flush;

View File

@ -1,7 +1,6 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "config.h" #include "config.h"
#include "run-command.h" #include "run-command.h"
#include "wrapper.h"
#include "write-or-die.h" #include "write-or-die.h"
/* /*