diff options
Diffstat (limited to 'tree-walk.h')
-rw-r--r-- | tree-walk.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tree-walk.h b/tree-walk.h index 08d349c54f..a4ad28ea5e 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -3,8 +3,6 @@ #include "cache.h" -struct strbuf; - struct name_entry { struct object_id oid; const char *path; @@ -51,7 +49,7 @@ void *fill_tree_descriptor(struct tree_desc *desc, const struct object_id *oid); struct traverse_info; typedef int (*traverse_callback_t)(int n, unsigned long mask, unsigned long dirmask, struct name_entry *entry, struct traverse_info *); -int traverse_trees(int n, struct tree_desc *t, struct traverse_info *info); +int traverse_trees(struct index_state *istate, int n, struct tree_desc *t, struct traverse_info *info); enum follow_symlinks_result { FOUND = 0, /* This includes out-of-tree links */ @@ -101,8 +99,9 @@ enum interesting { all_entries_interesting = 2 /* yes, and all subsequent entries will be */ }; -extern enum interesting tree_entry_interesting(const struct name_entry *, - struct strbuf *, int, - const struct pathspec *ps); +enum interesting tree_entry_interesting(struct index_state *istate, + const struct name_entry *, + struct strbuf *, int, + const struct pathspec *ps); #endif |