mirror of https://github.com/git/git.git
Merge branch 'en/header-split-cache-h'
Header clean-up. * en/header-split-cache-h: (24 commits) protocol.h: move definition of DEFAULT_GIT_PORT from cache.h mailmap, quote: move declarations of global vars to correct unit treewide: reduce includes of cache.h in other headers treewide: remove double forward declaration of read_in_full cache.h: remove unnecessary includes treewide: remove cache.h inclusion due to pager.h changes pager.h: move declarations for pager.c functions from cache.h treewide: remove cache.h inclusion due to editor.h changes editor: move editor-related functions and declarations into common file treewide: remove cache.h inclusion due to object.h changes object.h: move some inline functions and defines from cache.h treewide: remove cache.h inclusion due to object-file.h changes object-file.h: move declarations for object-file.c functions from cache.h treewide: remove cache.h inclusion due to git-zlib changes git-zlib: move declarations for git-zlib functions from cache.h treewide: remove cache.h inclusion due to object-name.h changes object-name.h: move declarations for object-name.c functions from cache.h treewide: remove unnecessary cache.h inclusion treewide: be explicit about dependence on mem-pool.h treewide: be explicit about dependence on oid-array.h ...
This commit is contained in:
commit
0807e57807
2
Makefile
2
Makefile
|
@ -1032,6 +1032,7 @@ LIB_OBJS += fsmonitor.o
|
|||
LIB_OBJS += fsmonitor-ipc.o
|
||||
LIB_OBJS += fsmonitor-settings.o
|
||||
LIB_OBJS += gettext.o
|
||||
LIB_OBJS += git-zlib.o
|
||||
LIB_OBJS += gpg-interface.o
|
||||
LIB_OBJS += graph.o
|
||||
LIB_OBJS += grep.o
|
||||
|
@ -1192,7 +1193,6 @@ LIB_OBJS += write-or-die.o
|
|||
LIB_OBJS += ws.o
|
||||
LIB_OBJS += wt-status.o
|
||||
LIB_OBJS += xdiff-interface.o
|
||||
LIB_OBJS += zlib.o
|
||||
|
||||
BUILTIN_OBJS += builtin/add.o
|
||||
BUILTIN_OBJS += builtin/am.o
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
#include "cache.h"
|
||||
#include "add-interactive.h"
|
||||
#include "advice.h"
|
||||
#include "alloc.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "strbuf.h"
|
||||
#include "run-command.h"
|
||||
#include "strvec.h"
|
||||
|
|
2
apply.c
2
apply.c
|
@ -22,6 +22,8 @@
|
|||
#include "xdiff-interface.h"
|
||||
#include "ll-merge.h"
|
||||
#include "lockfile.h"
|
||||
#include "object-name.h"
|
||||
#include "object-file.h"
|
||||
#include "parse-options.h"
|
||||
#include "quote.h"
|
||||
#include "rerere.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "git-zlib.h"
|
||||
#include "hex.h"
|
||||
#include "tar.h"
|
||||
#include "archive.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "config.h"
|
||||
#include "archive.h"
|
||||
#include "gettext.h"
|
||||
#include "git-zlib.h"
|
||||
#include "hex.h"
|
||||
#include "streaming.h"
|
||||
#include "utf8.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "abspath.h"
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "convert.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#ifndef ARCHIVE_H
|
||||
#define ARCHIVE_H
|
||||
|
||||
#include "cache.h"
|
||||
#include "object-name.h"
|
||||
#include "pathspec.h"
|
||||
#include "string-list.h"
|
||||
|
||||
struct repository;
|
||||
struct pretty_print_context;
|
||||
|
|
3
bisect.c
3
bisect.c
|
@ -1,4 +1,4 @@
|
|||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "config.h"
|
||||
#include "commit.h"
|
||||
#include "diff.h"
|
||||
|
@ -17,6 +17,7 @@
|
|||
#include "strvec.h"
|
||||
#include "commit-slab.h"
|
||||
#include "commit-reach.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "dir.h"
|
||||
|
||||
|
|
2
blame.c
2
blame.c
|
@ -3,12 +3,14 @@
|
|||
#include "object-store.h"
|
||||
#include "cache-tree.h"
|
||||
#include "mergesort.h"
|
||||
#include "convert.h"
|
||||
#include "diff.h"
|
||||
#include "diffcore.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "setup.h"
|
||||
#include "tag.h"
|
||||
#include "trace2.h"
|
||||
#include "blame.h"
|
||||
#include "alloc.h"
|
||||
#include "commit-slab.h"
|
||||
|
|
3
branch.c
3
branch.c
|
@ -1,10 +1,11 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "branch.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "refs.h"
|
||||
#include "refspec.h"
|
||||
#include "remote.h"
|
||||
|
|
|
@ -5,9 +5,11 @@
|
|||
*/
|
||||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "lockfile.h"
|
||||
#include "editor.h"
|
||||
#include "dir.h"
|
||||
#include "gettext.h"
|
||||
#include "pathspec.h"
|
||||
|
|
|
@ -6,8 +6,10 @@
|
|||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "cache.h"
|
||||
#include "abspath.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "exec-cmd.h"
|
||||
#include "gettext.h"
|
||||
|
@ -26,6 +28,7 @@
|
|||
#include "diffcore.h"
|
||||
#include "unpack-trees.h"
|
||||
#include "branch.h"
|
||||
#include "object-name.h"
|
||||
#include "sequencer.h"
|
||||
#include "revision.h"
|
||||
#include "merge-recursive.h"
|
||||
|
@ -37,6 +40,7 @@
|
|||
#include "apply.h"
|
||||
#include "string-list.h"
|
||||
#include "packfile.h"
|
||||
#include "pager.h"
|
||||
#include "repository.h"
|
||||
#include "pretty.h"
|
||||
#include "wrapper.h"
|
||||
|
|
|
@ -3,12 +3,14 @@
|
|||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "bisect.h"
|
||||
#include "refs.h"
|
||||
#include "dir.h"
|
||||
#include "strvec.h"
|
||||
#include "run-command.h"
|
||||
#include "oid-array.h"
|
||||
#include "prompt.h"
|
||||
#include "quote.h"
|
||||
#include "revision.h"
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
#include "line-log.h"
|
||||
#include "dir.h"
|
||||
#include "progress.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "pager.h"
|
||||
#include "blame.h"
|
||||
#include "refs.h"
|
||||
#include "setup.h"
|
||||
|
|
|
@ -8,11 +8,13 @@
|
|||
#include "cache.h"
|
||||
#include "config.h"
|
||||
#include "color.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "refs.h"
|
||||
#include "commit.h"
|
||||
#include "builtin.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "remote.h"
|
||||
#include "parse-options.h"
|
||||
#include "branch.h"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "builtin.h"
|
||||
#include "abspath.h"
|
||||
#include "editor.h"
|
||||
#include "gettext.h"
|
||||
#include "parse-options.h"
|
||||
#include "strbuf.h"
|
||||
|
@ -8,6 +9,7 @@
|
|||
#include "hook.h"
|
||||
#include "hook-list.h"
|
||||
#include "diagnose.h"
|
||||
#include "object-file.h"
|
||||
#include "setup.h"
|
||||
#include "wrapper.h"
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "cache.h"
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "convert.h"
|
||||
#include "builtin.h"
|
||||
#include "diff.h"
|
||||
#include "environment.h"
|
||||
|
@ -19,6 +20,8 @@
|
|||
#include "tree-walk.h"
|
||||
#include "oid-array.h"
|
||||
#include "packfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "replace-object.h"
|
||||
#include "promisor-remote.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "attr.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "quote.h"
|
||||
#include "setup.h"
|
||||
#include "parse-options.h"
|
||||
|
|
|
@ -15,7 +15,9 @@
|
|||
#include "hook.h"
|
||||
#include "ll-merge.h"
|
||||
#include "lockfile.h"
|
||||
#include "mem-pool.h"
|
||||
#include "merge-recursive.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "parse-options.h"
|
||||
#include "refs.h"
|
||||
|
@ -26,6 +28,7 @@
|
|||
#include "setup.h"
|
||||
#include "submodule.h"
|
||||
#include "submodule-config.h"
|
||||
#include "trace2.h"
|
||||
#include "tree.h"
|
||||
#include "tree-walk.h"
|
||||
#include "unpack-trees.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "builtin.h"
|
||||
#include "abspath.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
|
@ -20,6 +21,7 @@
|
|||
#include "fetch-pack.h"
|
||||
#include "refs.h"
|
||||
#include "refspec.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "tree.h"
|
||||
#include "tree-walk.h"
|
||||
|
@ -40,6 +42,7 @@
|
|||
#include "hook.h"
|
||||
#include "bundle.h"
|
||||
#include "bundle-uri.h"
|
||||
#include "wrapper.h"
|
||||
|
||||
/*
|
||||
* Overall FIXMEs:
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "progress.h"
|
||||
#include "replace-object.h"
|
||||
#include "tag.h"
|
||||
#include "trace2.h"
|
||||
|
||||
#define BUILTIN_COMMIT_GRAPH_VERIFY_USAGE \
|
||||
N_("git commit-graph verify [--object-dir <dir>] [--shallow] [--[no-]progress]")
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "repository.h"
|
||||
#include "commit.h"
|
||||
|
|
|
@ -7,11 +7,13 @@
|
|||
|
||||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "lockfile.h"
|
||||
#include "cache-tree.h"
|
||||
#include "color.h"
|
||||
#include "dir.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "builtin.h"
|
||||
#include "diff.h"
|
||||
|
@ -26,6 +28,7 @@
|
|||
#include "log-tree.h"
|
||||
#include "strbuf.h"
|
||||
#include "utf8.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "string-list.h"
|
||||
#include "rerere.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "color.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "ident.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "abspath.h"
|
||||
#include "alloc.h"
|
||||
#include "gettext.h"
|
||||
#include "object-file.h"
|
||||
#include "parse-options.h"
|
||||
|
||||
#ifndef NO_UNIX_SOCKETS
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "refs.h"
|
||||
#include "builtin.h"
|
||||
#include "exec-cmd.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "revision.h"
|
||||
#include "diff.h"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "builtin.h"
|
||||
#include "abspath.h"
|
||||
#include "gettext.h"
|
||||
#include "object-file.h"
|
||||
#include "parse-options.h"
|
||||
#include "diagnose.h"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "strvec.h"
|
||||
#include "strbuf.h"
|
||||
#include "lockfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "dir.h"
|
||||
#include "entry.h"
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "refspec.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "commit.h"
|
||||
#include "object.h"
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include "dir.h"
|
||||
#include "run-command.h"
|
||||
#include "packfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "mem-pool.h"
|
||||
#include "commit-reach.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "alloc.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-file.h"
|
||||
#include "pkt-line.h"
|
||||
#include "fetch-pack.h"
|
||||
#include "remote.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* "git fetch"
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "environment.h"
|
||||
|
@ -9,8 +10,10 @@
|
|||
#include "repository.h"
|
||||
#include "refs.h"
|
||||
#include "refspec.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "oidset.h"
|
||||
#include "oid-array.h"
|
||||
#include "commit.h"
|
||||
#include "builtin.h"
|
||||
#include "string-list.h"
|
||||
|
@ -25,12 +28,15 @@
|
|||
#include "strvec.h"
|
||||
#include "utf8.h"
|
||||
#include "packfile.h"
|
||||
#include "pager.h"
|
||||
#include "list-objects-filter-options.h"
|
||||
#include "commit-reach.h"
|
||||
#include "branch.h"
|
||||
#include "promisor-remote.h"
|
||||
#include "commit-graph.h"
|
||||
#include "shallow.h"
|
||||
#include "trace.h"
|
||||
#include "trace2.h"
|
||||
#include "worktree.h"
|
||||
#include "bundle-uri.h"
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include "streaming.h"
|
||||
#include "decorate.h"
|
||||
#include "packfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "replace-object.h"
|
||||
#include "resolve-undo.h"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "simple-ipc.h"
|
||||
#include "khash.h"
|
||||
#include "pkt-line.h"
|
||||
#include "trace2.h"
|
||||
|
||||
static const char * const builtin_fsmonitor__daemon_usage[] = {
|
||||
N_("git fsmonitor--daemon start [<options>]"),
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "commit.h"
|
||||
#include "commit-graph.h"
|
||||
#include "packfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "pack.h"
|
||||
#include "pack-objects.h"
|
||||
|
@ -37,6 +38,7 @@
|
|||
#include "gettext.h"
|
||||
#include "hook.h"
|
||||
#include "setup.h"
|
||||
#include "trace2.h"
|
||||
#include "wrapper.h"
|
||||
|
||||
#define FAILED_RUN "failed to run %s"
|
||||
|
|
|
@ -26,8 +26,11 @@
|
|||
#include "setup.h"
|
||||
#include "submodule.h"
|
||||
#include "submodule-config.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "packfile.h"
|
||||
#include "pager.h"
|
||||
#include "write-or-die.h"
|
||||
|
||||
static const char *grep_prefix;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "blob.h"
|
||||
#include "quote.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "builtin.h"
|
||||
#include "exec-cmd.h"
|
||||
#include "gettext.h"
|
||||
#include "pager.h"
|
||||
#include "parse-options.h"
|
||||
#include "run-command.h"
|
||||
#include "config-list.h"
|
||||
|
|
|
@ -17,7 +17,10 @@
|
|||
#include "streaming.h"
|
||||
#include "thread-utils.h"
|
||||
#include "packfile.h"
|
||||
#include "pack-revindex.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "oid-array.h"
|
||||
#include "replace-object.h"
|
||||
#include "promisor-remote.h"
|
||||
#include "setup.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "refs.h"
|
||||
#include "builtin.h"
|
||||
#include "exec-cmd.h"
|
||||
#include "object-file.h"
|
||||
#include "parse-options.h"
|
||||
#include "setup.h"
|
||||
#include "worktree.h"
|
||||
|
|
|
@ -12,7 +12,10 @@
|
|||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "pager.h"
|
||||
#include "color.h"
|
||||
#include "commit.h"
|
||||
#include "diff.h"
|
||||
|
@ -20,6 +23,7 @@
|
|||
#include "revision.h"
|
||||
#include "log-tree.h"
|
||||
#include "builtin.h"
|
||||
#include "oid-array.h"
|
||||
#include "tag.h"
|
||||
#include "reflog-walk.h"
|
||||
#include "patch-ids.h"
|
||||
|
|
|
@ -8,10 +8,12 @@
|
|||
#include "cache.h"
|
||||
#include "repository.h"
|
||||
#include "config.h"
|
||||
#include "convert.h"
|
||||
#include "quote.h"
|
||||
#include "dir.h"
|
||||
#include "builtin.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "strbuf.h"
|
||||
#include "tree.h"
|
||||
#include "cache-tree.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "config.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "blob.h"
|
||||
#include "tree.h"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "refs.h"
|
||||
#include "diff.h"
|
||||
#include "revision.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "repository.h"
|
||||
#include "commit-reach.h"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#include "cache.h"
|
||||
#include "builtin.h"
|
||||
#include "advice.h"
|
||||
#include "commit.h"
|
||||
#include "gettext.h"
|
||||
#include "tag.h"
|
||||
#include "merge-recursive.h"
|
||||
#include "object-name.h"
|
||||
#include "xdiff-interface.h"
|
||||
|
||||
static const char builtin_merge_recursive_usage[] =
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "commit.h"
|
||||
#include "commit-reach.h"
|
||||
#include "merge-ort.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "parse-options.h"
|
||||
#include "repository.h"
|
||||
|
|
|
@ -9,11 +9,14 @@
|
|||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "cache.h"
|
||||
#include "abspath.h"
|
||||
#include "advice.h"
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "builtin.h"
|
||||
#include "lockfile.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "parse-options.h"
|
||||
#include "tag.h"
|
||||
#include "replace-object.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "fsck.h"
|
||||
#include "config.h"
|
||||
|
|
|
@ -6,10 +6,12 @@
|
|||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "builtin.h"
|
||||
#include "abspath.h"
|
||||
#include "advice.h"
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "object-file.h"
|
||||
#include "pathspec.h"
|
||||
#include "lockfile.h"
|
||||
#include "dir.h"
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
#include "commit.h"
|
||||
#include "tag.h"
|
||||
#include "refs.h"
|
||||
#include "object-name.h"
|
||||
#include "pager.h"
|
||||
#include "parse-options.h"
|
||||
#include "prio-queue.h"
|
||||
#include "hash-lookup.h"
|
||||
|
|
|
@ -10,9 +10,11 @@
|
|||
#include "cache.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "editor.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "notes.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "repository.h"
|
||||
#include "blob.h"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "strvec.h"
|
||||
#include "list.h"
|
||||
#include "packfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "replace-object.h"
|
||||
#include "dir.h"
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#include "progress.h"
|
||||
#include "prune-packed.h"
|
||||
#include "replace-object.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "shallow.h"
|
||||
|
||||
|
|
|
@ -7,10 +7,12 @@
|
|||
*/
|
||||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "exec-cmd.h"
|
||||
#include "run-command.h"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* "git push"
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "branch.h"
|
||||
#include "config.h"
|
||||
#include "environment.h"
|
||||
|
@ -16,6 +17,7 @@
|
|||
#include "submodule.h"
|
||||
#include "submodule-config.h"
|
||||
#include "send-pack.h"
|
||||
#include "trace2.h"
|
||||
#include "color.h"
|
||||
|
||||
static const char * const push_usage[] = {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "cache.h"
|
||||
#include "builtin.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "range-diff.h"
|
||||
#include "config.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "hex.h"
|
||||
#include "lockfile.h"
|
||||
#include "object.h"
|
||||
#include "object-name.h"
|
||||
#include "tree.h"
|
||||
#include "tree-walk.h"
|
||||
#include "cache-tree.h"
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
#include "cache-tree.h"
|
||||
#include "unpack-trees.h"
|
||||
#include "lockfile.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "commit.h"
|
||||
#include "diff.h"
|
||||
|
@ -32,6 +34,7 @@
|
|||
#include "sequencer.h"
|
||||
#include "rebase-interactive.h"
|
||||
#include "reset.h"
|
||||
#include "trace2.h"
|
||||
#include "hook.h"
|
||||
#include "wrapper.h"
|
||||
|
||||
|
|
|
@ -29,9 +29,12 @@
|
|||
#include "tmp-objdir.h"
|
||||
#include "oidset.h"
|
||||
#include "packfile.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "protocol.h"
|
||||
#include "commit-reach.h"
|
||||
#include "trace.h"
|
||||
#include "trace2.h"
|
||||
#include "worktree.h"
|
||||
#include "shallow.h"
|
||||
#include "parse-options.h"
|
||||
|
|
|
@ -11,12 +11,15 @@
|
|||
#include "cache.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "parse-options.h"
|
||||
#include "run-command.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "replace-object.h"
|
||||
#include "repository.h"
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
*/
|
||||
#define USE_THE_INDEX_VARIABLE
|
||||
#include "builtin.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
|
@ -23,12 +24,15 @@
|
|||
#include "diffcore.h"
|
||||
#include "tree.h"
|
||||
#include "branch.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "unpack-trees.h"
|
||||
#include "cache-tree.h"
|
||||
#include "setup.h"
|
||||
#include "submodule.h"
|
||||
#include "submodule-config.h"
|
||||
#include "trace.h"
|
||||
#include "trace2.h"
|
||||
#include "dir.h"
|
||||
#include "add-interactive.h"
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#include "list-objects-filter.h"
|
||||
#include "list-objects-filter-options.h"
|
||||
#include "object.h"
|
||||
#include "object-name.h"
|
||||
#include "object-file.h"
|
||||
#include "object-store.h"
|
||||
#include "pack.h"
|
||||
#include "pack-bitmap.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "refs.h"
|
||||
#include "quote.h"
|
||||
#include "builtin.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "diff.h"
|
||||
#include "revision.h"
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "cache-tree.h"
|
||||
#include "gettext.h"
|
||||
#include "tree-walk.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "string-list.h"
|
||||
#include "setup.h"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include "builtin.h"
|
||||
#include "color.h"
|
||||
#include "strvec.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "dir.h"
|
||||
#include "commit-slab.h"
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "object.h"
|
||||
#include "tag.h"
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "dir.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "pathspec.h"
|
||||
#include "repository.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "refs.h"
|
||||
#include "lockfile.h"
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include "revision.h"
|
||||
#include "diffcore.h"
|
||||
#include "diff.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "advice.h"
|
||||
#include "branch.h"
|
||||
|
|
|
@ -7,12 +7,15 @@
|
|||
*/
|
||||
|
||||
#include "cache.h"
|
||||
#include "advice.h"
|
||||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "editor.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "refs.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "tag.h"
|
||||
#include "run-command.h"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "builtin.h"
|
||||
#include "config.h"
|
||||
#include "hex.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "wrapper.h"
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include "config.h"
|
||||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "git-zlib.h"
|
||||
#include "hex.h"
|
||||
#include "object-store.h"
|
||||
#include "object.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#include "cache-tree.h"
|
||||
#include "tree-walk.h"
|
||||
#include "builtin.h"
|
||||
#include "object-file.h"
|
||||
#include "refs.h"
|
||||
#include "resolve-undo.h"
|
||||
#include "parse-options.h"
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "gettext.h"
|
||||
#include "refs.h"
|
||||
#include "builtin.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "quote.h"
|
||||
#include "strvec.h"
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
*/
|
||||
#include "builtin.h"
|
||||
#include "config.h"
|
||||
#include "editor.h"
|
||||
#include "ident.h"
|
||||
#include "pager.h"
|
||||
#include "refs.h"
|
||||
|
||||
static const char var_usage[] = "git var (-l | <variable>)";
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include "config.h"
|
||||
#include "builtin.h"
|
||||
#include "gettext.h"
|
||||
#include "object-name.h"
|
||||
#include "object-store.h"
|
||||
#include "repository.h"
|
||||
#include "commit.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "gettext.h"
|
||||
#include "tag.h"
|
||||
#include "run-command.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "gpg-interface.h"
|
||||
#include "ref-filter.h"
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include "environment.h"
|
||||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "object-file.h"
|
||||
#include "object-name.h"
|
||||
#include "parse-options.h"
|
||||
#include "strvec.h"
|
||||
#include "branch.h"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2011, Google Inc.
|
||||
*/
|
||||
#include "cache.h"
|
||||
#include "git-compat-util.h"
|
||||
#include "alloc.h"
|
||||
#include |