summaryrefslogtreecommitdiff
path: root/tree-walk.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-12-17 12:45:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-02-03 22:08:31 (GMT)
commit1376e50723228fc21b7183fe86d71ee484a70dd7 (patch)
treeb4034d3052c3332fb78359074a663cf0d4f098ff /tree-walk.h
parente5e062b6dcdbbc338a0501b97a35e2e5efa56075 (diff)
downloadgit-1376e50723228fc21b7183fe86d71ee484a70dd7.zip
git-1376e50723228fc21b7183fe86d71ee484a70dd7.tar.gz
git-1376e50723228fc21b7183fe86d71ee484a70dd7.tar.bz2
grep: drop pathspec_matches() in favor of tree_entry_interesting()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-walk.h')
-rw-r--r--tree-walk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree-walk.h b/tree-walk.h
index 6589ee2..39524b7 100644
--- a/tree-walk.h
+++ b/tree-walk.h
@@ -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