summaryrefslogtreecommitdiff
path: root/sparse-index.h
diff options
context:
space:
mode:
Diffstat (limited to 'sparse-index.h')
-rw-r--r--sparse-index.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sparse-index.h b/sparse-index.h
index 656bd835b2..f57c65d972 100644
--- a/sparse-index.h
+++ b/sparse-index.h
@@ -3,8 +3,10 @@
struct index_state;
#define SPARSE_INDEX_MEMORY_ONLY (1 << 0)
+int is_sparse_index_allowed(struct index_state *istate, int flags);
int convert_to_sparse(struct index_state *istate, int flags);
void ensure_correct_sparsity(struct index_state *istate);
+void clear_skip_worktree_from_present_files(struct index_state *istate);
/*
* Some places in the codebase expect to search for a specific path.