summaryrefslogtreecommitdiff
path: root/cache.h
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 /cache.h
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 'cache.h')
-rw-r--r--cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 7523c28..c6b7770 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 *);