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:
parent
bc12974a89
commit
2fe44394c8
@ -24,7 +24,6 @@
|
||||
#include "sequencer.h"
|
||||
#include "revision.h"
|
||||
#include "merge-recursive.h"
|
||||
#include "revision.h"
|
||||
#include "log-tree.h"
|
||||
#include "notes-utils.h"
|
||||
#include "rerere.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "progress.h"
|
||||
#include "object-store.h"
|
||||
#include "blame.h"
|
||||
#include "string-list.h"
|
||||
#include "refs.h"
|
||||
|
||||
static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "connected.h"
|
||||
#include "packfile.h"
|
||||
#include "list-objects-filter-options.h"
|
||||
#include "object-store.h"
|
||||
|
||||
/*
|
||||
* Overall FIXMEs:
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "argv-array.h"
|
||||
#include "run-command.h"
|
||||
#include "object-store.h"
|
||||
#include "revision.h"
|
||||
#include "list-objects.h"
|
||||
#include "commit-slab.h"
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "reflog-walk.h"
|
||||
#include "oidset.h"
|
||||
#include "packfile.h"
|
||||
#include "object-store.h"
|
||||
|
||||
static const char rev_list_usage[] =
|
||||
"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "run-command.h"
|
||||
#include "sigchain.h"
|
||||
#include "submodule.h"
|
||||
#include "refs.h"
|
||||
#include "utf8.h"
|
||||
#include "worktree.h"
|
||||
|
||||
|
1
object.c
1
object.c
@ -7,7 +7,6 @@
|
||||
#include "commit.h"
|
||||
#include "tag.h"
|
||||
#include "alloc.h"
|
||||
#include "object-store.h"
|
||||
#include "packfile.h"
|
||||
#include "commit-graph.h"
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "mergesort.h"
|
||||
#include "packfile.h"
|
||||
#include "delta.h"
|
||||
#include "list.h"
|
||||
#include "streaming.h"
|
||||
#include "sha1-lookup.h"
|
||||
#include "commit.h"
|
||||
|
@ -12,10 +12,7 @@
|
||||
#include "diff.h"
|
||||
#include "revision.h"
|
||||
#include "commit-slab.h"
|
||||
#include "revision.h"
|
||||
#include "list-objects.h"
|
||||
#include "commit-slab.h"
|
||||
#include "repository.h"
|
||||
#include "commit-reach.h"
|
||||
|
||||
void set_alternate_shallow_file(struct repository *r, const char *path, int override)
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "refs.h"
|
||||
#include "attr.h"
|
||||
#include "split-index.h"
|
||||
#include "dir.h"
|
||||
#include "submodule.h"
|
||||
#include "submodule-config.h"
|
||||
#include "fsmonitor.h"
|
||||
|
Loading…
Reference in New Issue
Block a user