summaryrefslogtreecommitdiff
path: root/builtin/show-ref.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2011-03-25 16:34:18 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-25 09:20:33 -0700
commitffd31f661d5c5dddc091750ca86cfaa5d9d04b38 (patch)
treed8a1b57ad5ae53a845c124c4096e315f15569c30 /builtin/show-ref.c
parentMerge branch 'en/object-list-with-pathspec' into 'nd/struct-pathspec' (diff)
downloadtgif-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/show-ref.c')
0 files changed, 0 insertions, 0 deletions