Code

Teach tree_entry_interesting() that the tree entries are sorted.
authorJunio C Hamano <junkio@cox.net>
Wed, 21 Mar 2007 16:51:47 +0000 (09:51 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 22 Mar 2007 07:29:49 +0000 (00:29 -0700)
commit7d2f667b12334cea68087eb7da717efd7b3d80f6
tree9543882f6c44a3a93e9ea30404b94daa85c98be5
parent4651ece8540a90a42af355e995847fb89192cc81
Teach tree_entry_interesting() that the tree entries are sorted.

When we are looking at a tree entry with pathspecs, if all the
pathspecs sort strictly earlier than the entry we are currently
looking at, there is no way later entries in the same tree would
match our pathspecs, because the entries are sorted.

Signed-off-by: Junio C Hamano <junkio@cox.net>
tree-diff.c