Code

grep: drop pathspec_matches() in favor of tree_entry_interesting()
[git.git] / tree-walk.h
index 6589ee27e4047d5c8d1636de72250a864cf42b6b..39524b7dba6a1d0b63c4cd2b42db59a27a030b21 100644 (file)
@@ -60,6 +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);
+extern int tree_entry_interesting(const struct name_entry *, struct strbuf *, int, const struct pathspec *ps);
 
 #endif