diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2011-03-25 16:34:18 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-25 09:20:33 -0700 |
commit | ffd31f661d5c5dddc091750ca86cfaa5d9d04b38 (patch) | |
tree | d8a1b57ad5ae53a845c124c4096e315f15569c30 /builtin/diff.c | |
parent | Merge branch 'en/object-list-with-pathspec' into 'nd/struct-pathspec' (diff) | |
download | tgif-ffd31f661d5c5dddc091750ca86cfaa5d9d04b38.tar.xz |
Reimplement read_tree_recursive() using tree_entry_interesting()
read_tree_recursive() uses a very similar function, match_tree_entry, to
tree_entry_interesting() to do its path matching. This patch kills
match_tree_entry() in favor of tree_entry_interesting().
match_tree_entry(), like older version of tree_entry_interesting(), does
not support wildcard matching. New read_tree_recursive() retains this
behavior by forcing all pathspecs literal.
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 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions