summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 15:35:49 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-15 10:56:08 -0700
commit5ab2a2dabd6e13cd6830ff4f12f232dc79278e29 (patch)
tree864bc8939079ec940371bd68b460bfe26ae3d33c /cache.h
parentline-log: convert to use parse_pathspec (diff)
downloadtgif-5ab2a2dabd6e13cd6830ff4f12f232dc79278e29.tar.xz
convert read_cache_preload() to take struct pathspec
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, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index fd0a6f8f83..03705462c4 100644
--- a/cache.h
+++ b/cache.h
@@ -449,7 +449,7 @@ extern int init_db(const char *template_dir, unsigned int flags);
/* Initialize and use the cache information */
extern int read_index(struct index_state *);
-extern int read_index_preload(struct index_state *, const char **pathspec);
+extern int read_index_preload(struct index_state *, const struct pathspec *pathspec);
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 *);