aboutsummaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-12 15:13:57 -0700
committerJunio C Hamano <gitster@pobox.com>2017-06-13 11:40:51 -0700
commit85ab50f938601cf874c841cee4c56f1d1dc8199e (patch)
treef6dac1cfcb02c6a32b46baf62acedd4d9be3a1e3 /tree.h
parenta33e0b2a77d7010ba8bf0e025fffaf98f464a938 (diff)
downloadgit-85ab50f938601cf874c841cee4c56f1d1dc8199e.tar.gz
git-85ab50f938601cf874c841cee4c56f1d1dc8199e.tar.xz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tree.h b/tree.h
index 0d4734b94..744e6dc2a 100644
--- a/tree.h
+++ b/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 */