split-index: the reading part
CE_REMOVE'd entries are removed here because only parts of the code base (unpack_trees in fact) test this bit when they look for the presence of an entry. Leaving them may confuse the code ignores this bit and expects to see a real entry. 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
96a1d8d34c
commit
76b07b37a3
@ -12,6 +12,8 @@ struct split_index {
|
||||
struct ewah_bitmap *replace_bitmap;
|
||||
struct cache_entry **saved_cache;
|
||||
unsigned int saved_cache_nr;
|
||||
unsigned int nr_deletions;
|
||||
unsigned int nr_replacements;
|
||||
int refcount;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user