author | Junio C Hamano <junkio@cox.net> | |
Wed, 1 Mar 2006 04:19:47 +0000 (20:19 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 1 Mar 2006 04:19:47 +0000 (20:19 -0800) | ||
commit | aeecd23ae2785a0462d42191974e9d9a8e439fbe | |
tree | 896d1112a041f1c9eda2b5157d253399d0d3a12f | tree | snapshot |
parent | e3601e8bb76e46745d4919c3f30b1dddae040eb2 | commit | diff |
diffcore-break: micro-optimize by avoiding delta between identical files.
We did not check if we have the same file on both sides when
computing break score. This is usually not a problem, but if
the user said --find-copies-harde with -B, we ended up trying a
delta between the same data even when we know the SHA1 hash of
both sides match.
Signed-off-by: Junio C Hamano <junkio@cox.net>
We did not check if we have the same file on both sides when
computing break score. This is usually not a problem, but if
the user said --find-copies-harde with -B, we ended up trying a
delta between the same data even when we know the SHA1 hash of
both sides match.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diffcore-break.c | diff | blob | history |