118a2e8bde
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>
11 lines
216 B
C
11 lines
216 B
C
#ifndef SPARSE_INDEX_H__
|
|
#define SPARSE_INDEX_H__
|
|
|
|
struct index_state;
|
|
int convert_to_sparse(struct index_state *istate);
|
|
|
|
struct repository;
|
|
int set_sparse_index_config(struct repository *repo, int enable);
|
|
|
|
#endif
|