author | Linus Torvalds <torvalds@linux-foundation.org> | |
Thu, 25 Oct 2007 18:17:55 +0000 (11:17 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Oct 2007 06:18:05 +0000 (23:18 -0700) | ||
commit | cb1491b6bff20748532c9e50afc7f9d6896167a8 | |
tree | c6e82f0ba9253e4b35011c3b56b4d96deea7c28b | tree | snapshot |
parent | 505f297989f4b1fc4c5cb5d0c94e783e385f8d6d | commit | diff |
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>
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 | diff | blob | history |