summaryrefslogtreecommitdiff
path: root/pack-write.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-12-15 22:02:48 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-03 14:08:30 -0800
commit61cf28204508c095a68e7a9cb6307ca2a27112c9 (patch)
tree35af9a9a7212ad699ec5238ac2785b668725bffd /pack-write.c
parenttree_entry_interesting(): optimize wildcard matching when base is matched (diff)
downloadtgif-61cf28204508c095a68e7a9cb6307ca2a27112c9.tar.xz
pathspec: add match_pathspec_depth()
match_pathspec_depth() is a clone of match_pathspec() except that it can take depth limit. Computation is a bit lighter compared to match_pathspec() because it's usually precomputed and stored in struct pathspec. In long term, match_pathspec() and match_one() should be removed in favor of this function. 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 'pack-write.c')
0 files changed, 0 insertions, 0 deletions