summaryrefslogtreecommitdiff
path: root/sparse-index.h
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-04-01 01:49:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-04-14 20:46:41 (GMT)
commit118a2e8bde0982d219607ff9f260b9cfeb25585c (patch)
tree7a1452685d7928884e7a40d7a7bff48d283f0f5d /sparse-index.h
parent95e0321c4dbb81eca5dc1c6f96b176b00a0368d7 (diff)
downloadgit-118a2e8bde0982d219607ff9f260b9cfeb25585c.zip
git-118a2e8bde0982d219607ff9f260b9cfeb25585c.tar.gz
git-118a2e8bde0982d219607ff9f260b9cfeb25585c.tar.bz2
cache: move ensure_full_index() to cache.h
Soon we will insert ensure_full_index() calls across the codebase. Instead of also adding include statements for sparse-index.h, let's just use the fact that anything that cares about the index already has cache.h in its includes. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sparse-index.h')
-rw-r--r--sparse-index.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sparse-index.h b/sparse-index.h
index 39dcc85..0268f38 100644
--- a/sparse-index.h
+++ b/sparse-index.h
@@ -2,7 +2,6 @@
#define SPARSE_INDEX_H__
struct index_state;
-void ensure_full_index(struct index_state *istate);
int convert_to_sparse(struct index_state *istate);
struct repository;