aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-02-14 14:15:57 -0800
committerJunio C Hamano <gitster@pobox.com>2023-02-14 14:15:57 -0800
commit037db6d563565c838a893029621912e063165d2c (patch)
tree8202960f9cb1b09ac403bf533c522996eab9f372
parentMerge branch 'rs/clarify-error-in-write-loose-object' into maint-2.39 (diff)
parentgit: remove duplicate includes (diff)
downloadgit-037db6d563565c838a893029621912e063165d2c.tar.gz
git-037db6d563565c838a893029621912e063165d2c.zip
Merge branch 'sk/remove-duplicate-includes' into maint-2.39
Code clean-up. * sk/remove-duplicate-includes: git: remove duplicate includes
-rw-r--r--pack-write.c1
-rw-r--r--sequencer.c1
-rw-r--r--unpack-trees.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/pack-write.c b/pack-write.c
index 00787e306d..3363729748 100644
--- a/pack-write.c
+++ b/pack-write.c
@@ -5,7 +5,6 @@
#include "chunk-format.h"
#include "pack-mtimes.h"
#include "oidmap.h"
-#include "chunk-format.h"
#include "pack-objects.h"
void reset_pack_idx_option(struct pack_idx_option *opts)
diff --git a/sequencer.c b/sequencer.c
index 9827e1adcb..f51d403b7d 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -36,7 +36,6 @@
#include "rebase-interactive.h"
#include "reset.h"
#include "branch.h"
-#include "log-tree.h"
#define GIT_REFLOG_ACTION "GIT_REFLOG_ACTION"
diff --git a/unpack-trees.c b/unpack-trees.c
index 8a762aa077..d11bef96bf 100644
--- a/unpack-trees.c
+++ b/unpack-trees.c
@@ -19,7 +19,6 @@
#include "promisor-remote.h"
#include "entry.h"
#include "parallel-checkout.h"
-#include "sparse-index.h"
/*
* Error messages expected by scripts out of plumbing commands such as