summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 19:19:51 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-13 11:49:42 -0700
commit3e52f70b1505956bf91cb7b107e526d1c67da0a6 (patch)
treec65fe95ff5c1ebaf0023660e9a7f6d3d38747558 /cache.h
parentt2104: make sure split index mode is off for the version test (diff)
downloadtgif-3e52f70b1505956bf91cb7b107e526d1c67da0a6.tar.xz
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 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 7523c28ec7..c6b7770f60 100644
--- a/cache.h
+++ b/cache.h
@@ -473,6 +473,8 @@ extern int daemonize(void);
struct lock_file;
extern int read_index(struct index_state *);
extern int read_index_preload(struct index_state *, const struct pathspec *pathspec);
+extern int do_read_index(struct index_state *istate, const char *path,
+ int must_exist); /* for testting only! */
extern int read_index_from(struct index_state *, const char *path);
extern int is_index_unborn(struct index_state *);
extern int read_index_unmerged(struct index_state *);