Re: [PATCH 1/1] Bypass expensive content comparsion during rename detection
- From
Junio C Hamano <junio@hera.kernel.org>
- Date
- Dec 14, 2006, 11:26 UTC
- Message-ID
- <200612141126.kBEBQme7021704@hera.kernel.org>
estimate_similarity() is called after it has determined that one and two do not match exactly, and it relies on populate_filespec with at least size-only has been called on them so that it can reject filepair with vastly different sizes, still without looking at (thus without loading) the contents.