author | Junio C Hamano <junkio@cox.net> | |
Wed, 21 Mar 2007 16:51:47 +0000 (09:51 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 22 Mar 2007 07:29:49 +0000 (00:29 -0700) | ||
commit | 7d2f667b12334cea68087eb7da717efd7b3d80f6 | |
tree | 9543882f6c44a3a93e9ea30404b94daa85c98be5 | tree | snapshot |
parent | 4651ece8540a90a42af355e995847fb89192cc81 | commit | diff |
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>
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 | diff | blob | history |