diff options
author | Brandon Williams <bmwill@google.com> | 2017-06-12 15:13:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-13 11:40:51 -0700 |
commit | 85ab50f938601cf874c841cee4c56f1d1dc8199e (patch) | |
tree | f6dac1cfcb02c6a32b46baf62acedd4d9be3a1e3 /tree.h | |
parent | a33e0b2a77d7010ba8bf0e025fffaf98f464a938 (diff) | |
download | git-85ab50f938601cf874c841cee4c56f1d1dc8199e.tar.gz |
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>
Diffstat (limited to 'tree.h')
-rw-r--r-- | tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 */ |