diff options
Diffstat (limited to 'sparse-index.h')
-rw-r--r-- | sparse-index.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sparse-index.h b/sparse-index.h index 1115a0d7dd..656bd835b2 100644 --- a/sparse-index.h +++ b/sparse-index.h @@ -2,7 +2,9 @@ #define SPARSE_INDEX_H__ struct index_state; -int convert_to_sparse(struct index_state *istate); +#define SPARSE_INDEX_MEMORY_ONLY (1 << 0) +int convert_to_sparse(struct index_state *istate, int flags); +void ensure_correct_sparsity(struct index_state *istate); /* * Some places in the codebase expect to search for a specific path. |