commit | 4e09cf2acf00c63848c365479c61d80af62eceba | [log] [tgz] |
---|---|---|
author | David Turner <dturner@twopensource.com> | Mon Aug 31 22:13:10 2015 -0400 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Sep 01 10:37:38 2015 -0700 |
tree | 814365371ed1ed3a1d019e31b5d4db7e77973ba5 | |
parent | 0701530c2663f82ff4b678de27db4c61f8b3092f [diff] |
path: optimize common dir checking Instead of a linear search over common_list to check whether a path is common, use a trie. The trie search operates on path prefixes, and handles excludes. Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>