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>
This commit is contained in:
committed by
Junio C Hamano
parent
e0cf0d7de2
commit
045113a53e
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user