diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-12-15 22:02:40 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-03 13:22:58 -0800 |
commit | 2c389fc8ec57722aa1e8f49d316401e2e21d1b05 (patch) | |
tree | 1ca6937ef17627820529f4e44340d0bb3cf8c0b7 /tree-walk.h | |
parent | 475005a11768a3906c42fac55e8b3371794bdef3 (diff) | |
download | git-2c389fc8ec57722aa1e8f49d316401e2e21d1b05.tar.gz |
Move tree_entry_interesting() to tree-walk.c and export it
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tree-walk.h b/tree-walk.h index 7e3e0b5ad1..c12f0a2978 100644 --- a/tree-walk.h +++ b/tree-walk.h @@ -60,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 *, const char *, int, const struct pathspec *ps); + #endif |