Skip to content

Commit 2fe4439

Browse files
rscharfegitster
authored andcommitted
treewide: remove duplicate #include directives
Found with "git grep '^#include ' '*.c' | sort | uniq -d". Signed-off-by: René Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bc12974 commit 2fe4439

File tree

10 files changed

+0
-12
lines changed

10 files changed

+0
-12
lines changed

builtin/am.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "sequencer.h"
2525
#include "revision.h"
2626
#include "merge-recursive.h"
27-
#include "revision.h"
2827
#include "log-tree.h"
2928
#include "notes-utils.h"
3029
#include "rerere.h"

builtin/blame.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#include "progress.h"
2727
#include "object-store.h"
2828
#include "blame.h"
29-
#include "string-list.h"
3029
#include "refs.h"
3130

3231
static char blame_usage[] = N_("git blame [<options>] [<rev-opts>] [<rev>] [--] <file>");

builtin/clone.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "connected.h"
3333
#include "packfile.h"
3434
#include "list-objects-filter-options.h"
35-
#include "object-store.h"
3635

3736
/*
3837
* Overall FIXMEs:

builtin/describe.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "argv-array.h"
1616
#include "run-command.h"
1717
#include "object-store.h"
18-
#include "revision.h"
1918
#include "list-objects.h"
2019
#include "commit-slab.h"
2120

builtin/rev-list.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "reflog-walk.h"
1919
#include "oidset.h"
2020
#include "packfile.h"
21-
#include "object-store.h"
2221

2322
static const char rev_list_usage[] =
2423
"git rev-list [OPTION] <commit-id>... [ -- paths... ]\n"

builtin/worktree.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "run-command.h"
1111
#include "sigchain.h"
1212
#include "submodule.h"
13-
#include "refs.h"
1413
#include "utf8.h"
1514
#include "worktree.h"
1615

object.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include "commit.h"
88
#include "tag.h"
99
#include "alloc.h"
10-
#include "object-store.h"
1110
#include "packfile.h"
1211
#include "commit-graph.h"
1312

packfile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include "mergesort.h"
77
#include "packfile.h"
88
#include "delta.h"
9-
#include "list.h"
109
#include "streaming.h"
1110
#include "sha1-lookup.h"
1211
#include "commit.h"

shallow.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
#include "diff.h"
1313
#include "revision.h"
1414
#include "commit-slab.h"
15-
#include "revision.h"
1615
#include "list-objects.h"
17-
#include "commit-slab.h"
18-
#include "repository.h"
1916
#include "commit-reach.h"
2017

2118
void set_alternate_shallow_file(struct repository *r, const char *path, int override)

unpack-trees.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "refs.h"
1212
#include "attr.h"
1313
#include "split-index.h"
14-
#include "dir.h"
1514
#include "submodule.h"
1615
#include "submodule-config.h"
1716
#include "fsmonitor.h"

0 commit comments

Comments
 (0)