treewide: remove duplicate #include directives

Found with "git grep '^#include ' '*.c' | sort | uniq -d".

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
René Scharfe 2019-10-03 14:18:34 +02:00 коммит произвёл Junio C Hamano
Родитель bc12974a89
Коммит 2fe44394c8
10 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -24,7 +24,6 @@
#include "sequencer.h" #include "sequencer.h"
#include "revision.h" #include "revision.h"
#include "merge-recursive.h" #include "merge-recursive.h"
#include "revision.h"
#include "log-tree.h" #include "log-tree.h"
#include "notes-utils.h" #include "notes-utils.h"
#include "rerere.h" #include "rerere.h"

Просмотреть файл

@ -26,7 +26,6 @@
#include "progress.h" #include "progress.h"
#include "object-store.h" #include "object-store.h"
#include "blame.h" #include "blame.h"
#include "string-list.h"
#include "refs.h" #include "refs.h"
static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>"); static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");

Просмотреть файл

@ -32,7 +32,6 @@
#include "connected.h" #include "connected.h"
#include "packfile.h" #include "packfile.h"
#include "list-objects-filter-options.h" #include "list-objects-filter-options.h"
#include "object-store.h"
/* /*
* Overall FIXMEs: * Overall FIXMEs:

Просмотреть файл

@ -15,7 +15,6 @@
#include "argv-array.h" #include "argv-array.h"
#include "run-command.h" #include "run-command.h"
#include "object-store.h" #include "object-store.h"
#include "revision.h"
#include "list-objects.h" #include "list-objects.h"
#include "commit-slab.h" #include "commit-slab.h"

Просмотреть файл

@ -18,7 +18,6 @@
#include "reflog-walk.h" #include "reflog-walk.h"
#include "oidset.h" #include "oidset.h"
#include "packfile.h" #include "packfile.h"
#include "object-store.h"
static const char rev_list_usage[] = static const char rev_list_usage[] =
"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n" "git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"

Просмотреть файл

@ -10,7 +10,6 @@
#include "run-command.h" #include "run-command.h"
#include "sigchain.h" #include "sigchain.h"
#include "submodule.h" #include "submodule.h"
#include "refs.h"
#include "utf8.h" #include "utf8.h"
#include "worktree.h" #include "worktree.h"

Просмотреть файл

@ -7,7 +7,6 @@
#include "commit.h" #include "commit.h"
#include "tag.h" #include "tag.h"
#include "alloc.h" #include "alloc.h"
#include "object-store.h"
#include "packfile.h" #include "packfile.h"
#include "commit-graph.h" #include "commit-graph.h"

Просмотреть файл

@ -6,7 +6,6 @@
#include "mergesort.h" #include "mergesort.h"
#include "packfile.h" #include "packfile.h"
#include "delta.h" #include "delta.h"
#include "list.h"
#include "streaming.h" #include "streaming.h"
#include "sha1-lookup.h" #include "sha1-lookup.h"
#include "commit.h" #include "commit.h"

Просмотреть файл

@ -12,10 +12,7 @@
#include "diff.h" #include "diff.h"
#include "revision.h" #include "revision.h"
#include "commit-slab.h" #include "commit-slab.h"
#include "revision.h"
#include "list-objects.h" #include "list-objects.h"
#include "commit-slab.h"
#include "repository.h"
#include "commit-reach.h" #include "commit-reach.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)

Просмотреть файл

@ -11,7 +11,6 @@
#include "refs.h" #include "refs.h"
#include "attr.h" #include "attr.h"
#include "split-index.h" #include "split-index.h"
#include "dir.h"
#include "submodule.h" #include "submodule.h"
#include "submodule-config.h" #include "submodule-config.h"
#include "fsmonitor.h" #include "fsmonitor.h"