summaryrefslogtreecommitdiff
path: root/split-index.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 19:19:41 +0700
committerJunio C Hamano <gitster@pobox.com>2014-06-13 11:49:40 -0700
commit76b07b37a3fff15ce4852bd070a610b651c42e77 (patch)
treebbd302d2820b7c3c501b547e0e10a8fcea817d08 /split-index.h
parent96a1d8d34c16be8fc5acd7ceb4d34573d8e2a76b (diff)
downloadgit-76b07b37a3fff15ce4852bd070a610b651c42e77.tar.gz
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>
Diffstat (limited to 'split-index.h')
-rw-r--r--split-index.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/split-index.h b/split-index.h
index 53b778fa61..c1324f521a 100644
--- a/split-index.h
+++ b/split-index.h
@@ -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;
};