Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-06-13 01:13:57 +0300
committerJunio C Hamano <gitster@pobox.com>2017-06-13 21:40:51 +0300
commit85ab50f938601cf874c841cee4c56f1d1dc8199e (patch)
treef6dac1cfcb02c6a32b46baf62acedd4d9be3a1e3 /tree.h
parenta33e0b2a77d7010ba8bf0e025fffaf98f464a938 (diff)
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 0d4734b94b..744e6dc2ac 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 */