summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-21 17:00:27 -0700
committerJunio C Hamano <junkio@cox.net>2007-03-22 00:36:00 -0700
commit1d848f643cd8ba86044d729d08d6866425c1539e (patch)
treee6c39ee5c80bd6220ee3abcfcda2d98dd276b725 /builtin.h
parentccc744abbb27d3766175aee971991bc0f1fd4f00 (diff)
downloadgit-1d848f643cd8ba86044d729d08d6866425c1539e.tar.gz
tree_entry_interesting(): allow it to say "everything is interesting"
In addition to optimizing pathspecs that would never match, which was done earlier, this optimizes pathspecs that would always match (e.g. "arch/" while the traversal is already in "arch/i386/" hierarchy). This patch makes the worst case slightly more palatable, while improving average case. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions