const char *pattern, const char *string,
int prefix);
+static inline int ce_path_match(const struct cache_entry *ce,
+ const struct pathspec *pathspec,
+ char *seen)
+{
+ return match_pathspec_depth(pathspec, ce->name, ce_namelen(ce), 0, seen);
+}
+
#endif