travis-ci: move Travis CI code into dedicated scripts
[gitweb.git] / split-index.h
index 812e510f7e71cb9f32c1945e6a4cbd80598cd89a..df91c1bda8117fe7d0f25a0aaedce79370801ce0 100644 (file)
@@ -3,11 +3,17 @@
 
 struct index_state;
 struct strbuf;
+struct ewah_bitmap;
 
 struct split_index {
        unsigned char base_sha1[20];
        struct index_state *base;
+       struct ewah_bitmap *delete_bitmap;
+       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;
 };
 
@@ -25,5 +31,7 @@ void merge_base_index(struct index_state *istate);
 void prepare_to_write_split_index(struct index_state *istate);
 void finish_writing_split_index(struct index_state *istate);
 void discard_split_index(struct index_state *istate);
+void add_split_index(struct index_state *istate);
+void remove_split_index(struct index_state *istate);
 
 #endif