THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

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>
tags/v2.24.0-rc0
René Scharfe Junio C Hamano 1 month ago
parent
commit
2fe44394c8
10 changed files with 0 additions and 12 deletions
  1. +0
    -1
      builtin/am.c
  2. +0
    -1
      builtin/blame.c
  3. +0
    -1
      builtin/clone.c
  4. +0
    -1
      builtin/describe.c
  5. +0
    -1
      builtin/rev-list.c
  6. +0
    -1
      builtin/worktree.c
  7. +0
    -1
      object.c
  8. +0
    -1
      packfile.c
  9. +0
    -3
      shallow.c
  10. +0
    -1
      unpack-trees.c

+ 0
- 1
builtin/am.c View File

@@ -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"

+ 0
- 1
builtin/blame.c View File

@@ -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>");

+ 0
- 1
builtin/clone.c View File

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

/*
* Overall FIXMEs:

+ 0
- 1
builtin/describe.c View File

@@ -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"


+ 0
- 1
builtin/rev-list.c View File

@@ -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"

+ 0
- 1
builtin/worktree.c View File

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


+ 0
- 1
object.c View File

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


+ 0
- 1
packfile.c View File

@@ -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"

+ 0
- 3
shallow.c View File

@@ -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)

+ 0
- 1
unpack-trees.c View File

@@ -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…
Cancel
Save