diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-02-17 13:30:42 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-17 13:30:42 -0800 |
| commit | 354b8d89ac155fb3ae74575b23ee3b38451dfde6 (patch) | |
| tree | d67250d0bf597d214fdb1c6e8fb14ecc210019cf | |
| parent | d445421a54a2227808b571c47324c740ddff8da1 (diff) | |
| parent | 10c68d2577b2c4eb4ca9b259a38a67444068e2d9 (diff) | |
| download | git-354b8d89ac155fb3ae74575b23ee3b38451dfde6.tar.xz | |
Merge branch 'rs/clean-includes'
Clean up redundant includes of header files.
* rs/clean-includes:
remove duplicate includes
| -rw-r--r-- | builtin/blame.c | 1 | ||||
| -rw-r--r-- | builtin/log.c | 1 | ||||
| -rw-r--r-- | builtin/pack-objects.c | 1 | ||||
| -rw-r--r-- | commit.c | 1 | ||||
| -rw-r--r-- | object-file-convert.c | 1 | ||||
| -rw-r--r-- | protocol-caps.c | 1 | ||||
| -rw-r--r-- | setup.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/builtin/blame.c b/builtin/blame.c index bb460346e6..eac2fe7320 100644 --- a/builtin/blame.c +++ b/builtin/blame.c @@ -10,7 +10,6 @@ #include "builtin.h" #include "config.h" #include "color.h" -#include "builtin.h" #include "environment.h" #include "gettext.h" #include "hex.h" diff --git a/builtin/log.c b/builtin/log.c index d43ca693bf..8ab6d3a943 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -24,7 +24,6 @@ #include "diff-merges.h" #include "revision.h" #include "log-tree.h" -#include "builtin.h" #include "oid-array.h" #include "tag.h" #include "reflog-walk.h" diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 9807dd0eff..e6c8f896ab 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -44,7 +44,6 @@ #include "blob.h" #include "tree.h" #include "path-walk.h" -#include "trace2.h" /* * Objects we are going to pack are collected in the `to_pack` structure. @@ -31,7 +31,6 @@ #include "parse.h" #include "object-file.h" #include "object-file-convert.h" -#include "prio-queue.h" static struct commit_extra_header *read_commit_extra_header_lines(const char *buf, size_t len, const char **); diff --git a/object-file-convert.c b/object-file-convert.c index 7ab875afe6..7813286596 100644 --- a/object-file-convert.c +++ b/object-file-convert.c @@ -6,7 +6,6 @@ #include "hex.h" #include "repository.h" #include "hash.h" -#include "hash.h" #include "object.h" #include "loose.h" #include "commit.h" diff --git a/protocol-caps.c b/protocol-caps.c index ecdd0dc58d..35072ed60b 100644 --- a/protocol-caps.c +++ b/protocol-caps.c @@ -4,7 +4,6 @@ #include "hex.h" #include "pkt-line.h" #include "hash.h" -#include "hex.h" #include "object.h" #include "odb.h" #include "repository.h" @@ -25,7 +25,6 @@ #include "trace.h" #include "trace2.h" #include "worktree.h" -#include "exec-cmd.h" static int inside_git_dir = -1; static int inside_work_tree = -1; |
