refspec: store raw refspecs inside refspec_item
[git/gitster.git] / preload-index.h
blob251b1ed88e9820a6819cd3013fde32c21e5213fe
1 #ifndef PRELOAD_INDEX_H
2 #define PRELOAD_INDEX_H
4 struct index_state;
5 struct pathspec;
6 struct repository;
8 void preload_index(struct index_state *index,
9 const struct pathspec *pathspec,
10 unsigned int refresh_flags);
11 int repo_read_index_preload(struct repository *,
12 const struct pathspec *pathspec,
13 unsigned refresh_flags);
15 #endif /* PRELOAD_INDEX_H */