Split out "exact content match" phase of rename detection
commitcb1491b6bff20748532c9e50afc7f9d6896167a8
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Oct 2007 18:17:55 +0000 (25 11:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Oct 2007 06:18:05 +0000 (26 23:18 -0700)
treec6e82f0ba9253e4b35011c3b56b4d96deea7c28b
parent505f297989f4b1fc4c5cb5d0c94e783e385f8d6d
Split out "exact content match" phase of rename detection

This makes the exact content match a separate function of its own.
Partly to cut down a bit on the size of the diffcore_rename() function
(which is too complex as it is), and partly because there are smarter
ways to do this than an O(m*n) loop over it all, and that function
should be rewritten to take that into account.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diffcore-rename.c