treewide: be explicit about dependence on gettext.h

Dozens of files made use of gettext functions, without explicitly
including gettext.h.  This made it more difficult to find which files
could remove a dependence on cache.h.  Make C files explicitly include
gettext.h if they are using it.

However, while compat/fsmonitor/fsm-ipc-darwin.c should also gain an
include of gettext.h, it was left out to avoid conflicting with an
in-flight topic.

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-03-21 06:25:54 +00:00 committed by Junio C Hamano
parent a6dc3d364c
commit f394e093df
235 changed files with 236 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include "color.h" #include "color.h"
#include "config.h" #include "config.h"
#include "diffcore.h" #include "diffcore.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "revision.h" #include "revision.h"
#include "refs.h" #include "refs.h"

View File

@ -1,6 +1,7 @@
#include "cache.h" #include "cache.h"
#include "add-interactive.h" #include "add-interactive.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "strbuf.h" #include "strbuf.h"
#include "run-command.h" #include "run-command.h"
#include "strvec.h" #include "strvec.h"

View File

@ -15,6 +15,7 @@
#include "delta.h" #include "delta.h"
#include "diff.h" #include "diff.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"
#include "ll-merge.h" #include "ll-merge.h"

View File

@ -4,6 +4,7 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "tar.h" #include "tar.h"
#include "archive.h" #include "archive.h"

View File

@ -4,6 +4,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "archive.h" #include "archive.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "streaming.h" #include "streaming.h"
#include "utf8.h" #include "utf8.h"

View File

@ -1,6 +1,7 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "object-store.h" #include "object-store.h"

1
attr.c
View File

@ -12,6 +12,7 @@
#include "exec-cmd.h" #include "exec-cmd.h"
#include "attr.h" #include "attr.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "utf8.h" #include "utf8.h"
#include "quote.h" #include "quote.h"
#include "revision.h" #include "revision.h"

View File

@ -2,6 +2,7 @@
#include "config.h" #include "config.h"
#include "commit.h" #include "commit.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "revision.h" #include "revision.h"
#include "refs.h" #include "refs.h"

View File

@ -5,6 +5,7 @@
#include "mergesort.h" #include "mergesort.h"
#include "diff.h" #include "diff.h"
#include "diffcore.h" #include "diffcore.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "tag.h" #include "tag.h"
#include "blame.h" #include "blame.h"

View File

@ -2,6 +2,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "branch.h" #include "branch.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "refspec.h" #include "refspec.h"

View File

@ -9,6 +9,7 @@
#include "builtin.h" #include "builtin.h"
#include "lockfile.h" #include "lockfile.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "pathspec.h" #include "pathspec.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "cache-tree.h" #include "cache-tree.h"

View File

@ -8,6 +8,7 @@
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "dir.h" #include "dir.h"

View File

@ -1,5 +1,6 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "apply.h" #include "apply.h"

View File

@ -5,6 +5,7 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "archive.h" #include "archive.h"
#include "gettext.h"
#include "transport.h" #include "transport.h"
#include "parse-options.h" #include "parse-options.h"
#include "pkt-line.h" #include "pkt-line.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "bisect.h" #include "bisect.h"

View File

@ -10,6 +10,7 @@
#include "config.h" #include "config.h"
#include "color.h" #include "color.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "commit.h" #include "commit.h"

View File

@ -11,6 +11,7 @@
#include "refs.h" #include "refs.h"
#include "commit.h" #include "commit.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "remote.h" #include "remote.h"
#include "parse-options.h" #include "parse-options.h"
#include "branch.h" #include "branch.h"

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "strbuf.h" #include "strbuf.h"
#include "help.h" #include "help.h"

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "strvec.h" #include "strvec.h"
#include "parse-options.h" #include "parse-options.h"
#include "cache.h" #include "cache.h"

View File

@ -9,6 +9,7 @@
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "ident.h" #include "ident.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -3,6 +3,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "attr.h" #include "attr.h"
#include "gettext.h"
#include "quote.h" #include "quote.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -3,6 +3,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "quote.h" #include "quote.h"
#include "pathspec.h" #include "pathspec.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "ident.h" #include "ident.h"
#include "mailmap.h" #include "mailmap.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -2,6 +2,7 @@
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "entry.h" #include "entry.h"
#include "gettext.h"
#include "parallel-checkout.h" #include "parallel-checkout.h"
#include "parse-options.h" #include "parse-options.h"
#include "pkt-line.h" #include "pkt-line.h"

View File

@ -8,6 +8,7 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "lockfile.h" #include "lockfile.h"
#include "quote.h" #include "quote.h"
#include "cache-tree.h" #include "cache-tree.h"

View File

@ -9,6 +9,7 @@
#include "config.h" #include "config.h"
#include "diff.h" #include "diff.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "hook.h" #include "hook.h"
#include "ll-merge.h" #include "ll-merge.h"

View File

@ -11,6 +11,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"
#include "quote.h" #include "quote.h"

View File

@ -11,6 +11,7 @@
#define USE_THE_INDEX_VARIABLE #define USE_THE_INDEX_VARIABLE
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "strbuf.h" #include "strbuf.h"
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -5,6 +5,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "object-store.h" #include "object-store.h"
#include "repository.h" #include "repository.h"

View File

@ -16,6 +16,7 @@
#include "diff.h" #include "diff.h"
#include "diffcore.h" #include "diffcore.h"
#include "commit.h" #include "commit.h"
#include "gettext.h"
#include "revision.h" #include "revision.h"
#include "wt-status.h" #include "wt-status.h"
#include "run-command.h" #include "run-command.h"

View File

@ -2,6 +2,7 @@
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "color.h" #include "color.h"
#include "gettext.h"
#include "ident.h" #include "ident.h"
#include "parse-options.h" #include "parse-options.h"
#include "urlmatch.h" #include "urlmatch.h"

View File

@ -7,6 +7,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "repository.h" #include "repository.h"
#include "builtin.h" #include "builtin.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#ifndef NO_UNIX_SOCKETS #ifndef NO_UNIX_SOCKETS

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#ifndef NO_UNIX_SOCKETS #ifndef NO_UNIX_SOCKETS

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "lockfile.h" #include "lockfile.h"
#include "credential.h" #include "credential.h"
#include "string-list.h" #include "string-list.h"

View File

@ -1,6 +1,7 @@
#define USE_THE_INDEX_VARIABLE #define USE_THE_INDEX_VARIABLE
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "commit.h" #include "commit.h"

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "diagnose.h" #include "diagnose.h"

View File

@ -3,6 +3,7 @@
#include "config.h" #include "config.h"
#include "diff.h" #include "diff.h"
#include "commit.h" #include "commit.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "log-tree.h" #include "log-tree.h"
#include "builtin.h" #include "builtin.h"

View File

@ -11,6 +11,7 @@
#include "color.h" #include "color.h"
#include "commit.h" #include "commit.h"
#include "blob.h" #include "blob.h"
#include "gettext.h"
#include "tag.h" #include "tag.h"
#include "diff.h" #include "diff.h"
#include "diff-merges.h" #include "diff-merges.h"

View File

@ -17,6 +17,7 @@
#include "builtin.h" #include "builtin.h"
#include "run-command.h" #include "run-command.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "strvec.h" #include "strvec.h"

View File

@ -6,6 +6,7 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "refspec.h" #include "refspec.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "pkt-line.h" #include "pkt-line.h"
#include "fetch-pack.h" #include "fetch-pack.h"

View File

@ -3,6 +3,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "refs.h" #include "refs.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "fmt-merge-msg.h" #include "fmt-merge-msg.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
static const char * const fmt_merge_msg_usage[] = { static const char * const fmt_merge_msg_usage[] = {

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "refs.h" #include "refs.h"
#include "object.h" #include "object.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,6 +1,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "run-command.h" #include "run-command.h"
#include "string-list.h" #include "string-list.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "fsmonitor.h" #include "fsmonitor.h"
#include "fsmonitor-ipc.h" #include "fsmonitor-ipc.h"

View File

@ -32,6 +32,7 @@
#include "refs.h" #include "refs.h"
#include "remote.h" #include "remote.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "gettext.h"
#include "hook.h" #include "hook.h"
#define FAILED_RUN "failed to run %s" #define FAILED_RUN "failed to run %s"

View File

@ -5,6 +5,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"

View File

@ -6,6 +6,7 @@
*/ */
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "object-store.h" #include "object-store.h"
#include "blob.h" #include "blob.h"

View File

@ -5,6 +5,7 @@
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "exec-cmd.h" #include "exec-cmd.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "run-command.h" #include "run-command.h"
#include "config-list.h" #include "config-list.h"

View File

@ -1,6 +1,7 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hook.h" #include "hook.h"
#include "parse-options.h" #include "parse-options.h"
#include "strbuf.h" #include "strbuf.h"

View File

@ -2,6 +2,7 @@
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "delta.h" #include "delta.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "pack.h" #include "pack.h"
#include "csum-file.h" #include "csum-file.h"

View File

@ -5,6 +5,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "refs.h" #include "refs.h"
#include "builtin.h" #include "builtin.h"
#include "exec-cmd.h" #include "exec-cmd.h"

View File

@ -7,6 +7,7 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"
#include "trailer.h" #include "trailer.h"

View File

@ -7,6 +7,7 @@
#include "git-compat-util.h" #include "git-compat-util.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "object-store.h" #include "object-store.h"

View File

@ -11,6 +11,7 @@
#include "quote.h" #include "quote.h"
#include "dir.h" #include "dir.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "strbuf.h" #include "strbuf.h"
#include "tree.h" #include "tree.h"
#include "cache-tree.h" #include "cache-tree.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "transport.h" #include "transport.h"
#include "ref-filter.h" #include "ref-filter.h"

View File

@ -5,6 +5,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "object-store.h" #include "object-store.h"
#include "blob.h" #include "blob.h"

View File

@ -4,6 +4,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "utf8.h" #include "utf8.h"
#include "strbuf.h" #include "strbuf.h"
#include "mailinfo.h" #include "mailinfo.h"

View File

@ -6,6 +6,7 @@
*/ */
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "string-list.h" #include "string-list.h"
#include "strbuf.h" #include "strbuf.h"

View File

@ -2,6 +2,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "commit.h" #include "commit.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "diff.h" #include "diff.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "xdiff/xdiff.h" #include "xdiff/xdiff.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,6 +1,7 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "commit.h" #include "commit.h"
#include "gettext.h"
#include "tag.h" #include "tag.h"
#include "merge-recursive.h" #include "merge-recursive.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"

View File

@ -3,6 +3,7 @@
#include "tree-walk.h" #include "tree-walk.h"
#include "xdiff-interface.h" #include "xdiff-interface.h"
#include "help.h" #include "help.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "commit.h" #include "commit.h"
#include "commit-reach.h" #include "commit-reach.h"

View File

@ -10,6 +10,7 @@
#include "cache.h" #include "cache.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "builtin.h" #include "builtin.h"

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "tag.h" #include "tag.h"

View File

@ -5,6 +5,7 @@
*/ */
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "quote.h" #include "quote.h"
#include "tree.h" #include "tree.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "midx.h" #include "midx.h"
#include "trace2.h" #include "trace2.h"

View File

@ -7,6 +7,7 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "pathspec.h" #include "pathspec.h"
#include "lockfile.h" #include "lockfile.h"
#include "dir.h" #include "dir.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"

View File

@ -10,6 +10,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "notes.h" #include "notes.h"
#include "object-store.h" #include "object-store.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "alloc.h" #include "alloc.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"

View File

@ -7,6 +7,7 @@
*/ */
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "repository.h" #include "repository.h"
#include "packfile.h" #include "packfile.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "refs.h" #include "refs.h"
#include "repository.h" #include "repository.h"

View File

@ -2,6 +2,7 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -1,4 +1,5 @@
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "prune-packed.h" #include "prune-packed.h"

View File

@ -1,6 +1,7 @@
#include "cache.h" #include "cache.h"
#include "commit.h" #include "commit.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "revision.h" #include "revision.h"
#include "builtin.h" #include "builtin.h"

View File

@ -9,6 +9,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "exec-cmd.h" #include "exec-cmd.h"

View File

@ -4,6 +4,7 @@
#include "cache.h" #include "cache.h"
#include "branch.h" #include "branch.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "refs.h" #include "refs.h"
#include "refspec.h" #include "refspec.h"
#include "run-command.h" #include "run-command.h"

View File

@ -1,5 +1,6 @@
#include "cache.h" #include "cache.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "range-diff.h" #include "range-diff.h"
#include "config.h" #include "config.h"

View File

@ -7,6 +7,7 @@
#define USE_THE_INDEX_VARIABLE #define USE_THE_INDEX_VARIABLE
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "object.h" #include "object.h"

View File

@ -6,6 +6,7 @@
#define USE_THE_INDEX_VARIABLE #define USE_THE_INDEX_VARIABLE
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "run-command.h" #include "run-command.h"
#include "exec-cmd.h" #include "exec-cmd.h"

View File

@ -1,6 +1,7 @@
#include "builtin.h" #include "builtin.h"
#include "repository.h" #include "repository.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "pack.h" #include "pack.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "revision.h" #include "revision.h"
#include "reachable.h" #include "reachable.h"
#include "worktree.h" #include "worktree.h"

View File

@ -1,5 +1,6 @@
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "transport.h" #include "transport.h"
#include "remote.h" #include "remote.h"

View File

@ -2,6 +2,7 @@
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "parse-options.h" #include "parse-options.h"
#include "run-command.h" #include "run-command.h"

View File

@ -11,6 +11,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "builtin.h" #include "builtin.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "parse-options.h" #include "parse-options.h"

View File

@ -2,6 +2,7 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "dir.h" #include "dir.h"
#include "gettext.h"
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"
#include "rerere.h" #include "rerere.h"

View File

@ -10,6 +10,7 @@
#define USE_THE_INDEX_VARIABLE #define USE_THE_INDEX_VARIABLE
#include "builtin.h" #include "builtin.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "lockfile.h" #include "lockfile.h"
#include "tag.h" #include "tag.h"

View File

@ -2,6 +2,7 @@
#include "config.h" #include "config.h"
#include "commit.h" #include "commit.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "revision.h" #include "revision.h"
#include "list-objects.h" #include "list-objects.h"

View File

@ -8,6 +8,7 @@
#include "alloc.h" #include "alloc.h"
#include "config.h" #include "config.h"
#include "commit.h" #include "commit.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "refs.h" #include "refs.h"
#include "quote.h" #include "quote.h"

View File

@ -4,6 +4,7 @@
#include "builtin.h" #include "builtin.h"
#include "parse-options.h" #include "parse-options.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "revision.h" #include "revision.h"
#include "rerere.h" #include "rerere.h"
#include "dir.h" #include "dir.h"

View File

@ -11,6 +11,7 @@
#include "lockfile.h" #include "lockfile.h"
#include "dir.h" #include "dir.h"
#include "cache-tree.h" #include "cache-tree.h"
#include "gettext.h"
#include "tree-walk.h" #include "tree-walk.h"
#include "parse-options.h" #include "parse-options.h"
#include "string-list.h" #include "string-list.h"

View File

@ -3,6 +3,7 @@
#include "config.h" #include "config.h"
#include "commit.h" #include "commit.h"
#include "diff.h" #include "diff.h"
#include "gettext.h"
#include "string-list.h" #include "string-list.h"
#include "revision.h" #include "revision.h"
#include "utf8.h" #include "utf8.h"

View File

@ -1,5 +1,6 @@
#include "cache.h" #include "cache.h"
#include "config.h" #include "config.h"
#include "gettext.h"
#include "hex.h" #include "hex.h"
#include "pretty.h" #include "pretty.h"
#include "refs.h" #include "refs.h"

Some files were not shown because too many files have changed in this diff Show More