Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 16:19:38 +0400
committerJunio C Hamano <gitster@pobox.com>2014-06-13 22:49:40 +0400
commit045113a53e9e4b2c157040a1b53306d7c932c455 (patch)
treeb2c12685914c12283017489365ed00dc1a43e32f /split-index.h
parente0cf0d7de28ee90e1668049e32802a8dbbcc2950 (diff)
read-cache: save deleted entries in split index
Entries that belong to the base index should not be freed. Mark CE_REMOVE to track them. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'split-index.h')
-rw-r--r--split-index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/split-index.h b/split-index.h
index 8d7404117e..5302118298 100644
--- a/split-index.h
+++ b/split-index.h
@@ -12,6 +12,7 @@ struct split_index {
};
struct split_index *init_split_index(struct index_state *istate);
+void save_or_free_index_entry(struct index_state *istate, struct cache_entry *ce);
int read_link_extension(struct index_state *istate,
const void *data, unsigned long sz);
int write_link_extension(struct strbuf *sb,