split-index: convert struct split_index to object_id

Convert the base_sha1 member of struct split_index to use struct
object_id and rename it base_oid.  Include cache.h to make the structure
visible.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
brian m. carlson
2018-05-02 00:25:43 +00:00
committed by Junio C Hamano
parent 34caab0261
commit 2182abd94b
5 changed files with 22 additions and 20 deletions

View File

@ -1,12 +1,14 @@
#ifndef SPLIT_INDEX_H
#define SPLIT_INDEX_H
#include "cache.h"
struct index_state;
struct strbuf;
struct ewah_bitmap;
struct split_index {
unsigned char base_sha1[20];
struct object_id base_oid;
struct index_state *base;
struct ewah_bitmap *delete_bitmap;
struct ewah_bitmap *replace_bitmap;