tree: convert read_tree to take an index parameter
Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
a33e0b2a77
commit
85ab50f938
3
tree.h
3
tree.h
@ -34,6 +34,7 @@ extern int read_tree_recursive(struct tree *tree,
|
||||
int stage, const struct pathspec *pathspec,
|
||||
read_tree_fn_t fn, void *context);
|
||||
|
||||
extern int read_tree(struct tree *tree, int stage, struct pathspec *pathspec);
|
||||
extern int read_tree(struct tree *tree, int stage, struct pathspec *pathspec,
|
||||
struct index_state *istate);
|
||||
|
||||
#endif /* TREE_H */
|
||||
|
Reference in New Issue
Block a user