Code

tree_entry_interesting(): support wildcard matching
[git.git] / tree-walk.h
index f78361a676be002a36bed0f243217c4e0ae9c8d1..6589ee27e4047d5c8d1636de72250a864cf42b6b 100644 (file)
@@ -48,6 +48,7 @@ struct traverse_info {
        unsigned long conflicts;
        traverse_callback_t fn;
        void *data;
+       int show_all_errors;
 };
 
 int get_tree_entry(const unsigned char *, const char *, unsigned char *, unsigned *);
@@ -59,4 +60,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 *, const struct pathspec *ps);
+
 #endif