t1700: new tests for split-index mode

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:
Nguyễn Thái Ngọc Duy
2014-06-13 19:19:51 +07:00
committed by Junio C Hamano
parent 5b0a78c1c0
commit 3e52f70b15
6 changed files with 233 additions and 2 deletions

View File

@ -1463,8 +1463,7 @@ static struct cache_entry *create_from_disk(struct ondisk_cache_entry *ondisk,
}
/* remember to discard_cache() before reading a different cache! */
static int do_read_index(struct index_state *istate, const char *path,
int must_exist)
int do_read_index(struct index_state *istate, const char *path, int must_exist)
{
int fd, i;
struct stat st;