diff options
Diffstat (limited to 'tree-walk.h')
-rw-r--r-- | tree-walk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tree-walk.h b/tree-walk.h index 7e3e0b5ad1..0089581e1d 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -44,6 +44,7 @@ struct traverse_info { struct traverse_info *prev; struct name_entry name; int pathlen; + struct pathspec *pathspec; unsigned long conflicts; traverse_callback_t fn; @@ -60,4 +61,6 @@ static inline int traverse_path_len(const struct traverse_info *info, const stru return info->pathlen + tree_entry_len(n->path, n->sha1); } +extern int tree_entry_interesting(const struct name_entry *, struct strbuf *, int, const struct pathspec *ps); + #endif |