summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 12:19:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-13 18:49:42 (GMT)
commit3e52f70b1505956bf91cb7b107e526d1c67da0a6 (patch)
treec65fe95ff5c1ebaf0023660e9a7f6d3d38747558 /read-cache.c
parent5b0a78c1c0e15e97133784b342384cdefa17f6fc (diff)
downloadgit-3e52f70b1505956bf91cb7b107e526d1c67da0a6.zip
git-3e52f70b1505956bf91cb7b107e526d1c67da0a6.tar.gz
git-3e52f70b1505956bf91cb7b107e526d1c67da0a6.tar.bz2
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>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/read-cache.c b/read-cache.c
index 12335a3..342fe52 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -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;